This commit is contained in:
pengjie 2025-04-08 20:08:23 +08:00
parent 37539074a4
commit f170dd0564

View File

@ -288,8 +288,8 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
String accessToken = "";
if (projectVideoConfig.getAppId().equals("noexist")) {
JSONObject body = new JSONObject();
body.put("secretKey", "z2YU1t7GRif9oJn/1dkKwG8VAPiAu1+u4m6vy5Cnb1nZGXdOlCQGxOsjkdpaXnBOr9AyDD0LrOhy8ogOMpgh6A==");
body.put("name", "swzk");
body.put("secretKey", "Xvt875SvK8zz7F+3Lj0faInIyd800TK0wGXt5GcaL4JubaXuwmlLoMXKXj7M9A21FxNB12mqhGqZnzW8ZSZHxQ==");
body.put("name", "ysej");
String result = HttpRequest.post("https://trans.tbmcloud.com.cn/trans/sentYSToken/ex/getToken")
.body(JSON.toJSONString(body))
.execute()
@ -414,8 +414,8 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
String token = "";
if (MapUtils.getString(videoList.get(0), "appId").equals("noexist")) {
JSONObject body = new JSONObject();
body.put("secretKey", "z2YU1t7GRif9oJn/1dkKwG8VAPiAu1+u4m6vy5Cnb1nZGXdOlCQGxOsjkdpaXnBOr9AyDD0LrOhy8ogOMpgh6A==");
body.put("name", "swzk");
body.put("secretKey", " Xvt875SvK8zz7F+3Lj0faInIyd800TK0wGXt5GcaL4JubaXuwmlLoMXKXj7M9A21FxNB12mqhGqZnzW8ZSZHxQ==");
body.put("name", "ysej");
String result = HttpRequest.post("https://trans.tbmcloud.com.cn/trans/sentYSToken/ex/getToken")
.body(JSON.toJSONString(body))
.execute()