优化
This commit is contained in:
parent
37539074a4
commit
f170dd0564
@ -288,8 +288,8 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
|
|||||||
String accessToken = "";
|
String accessToken = "";
|
||||||
if (projectVideoConfig.getAppId().equals("noexist")) {
|
if (projectVideoConfig.getAppId().equals("noexist")) {
|
||||||
JSONObject body = new JSONObject();
|
JSONObject body = new JSONObject();
|
||||||
body.put("secretKey", "z2YU1t7GRif9oJn/1dkKwG8VAPiAu1+u4m6vy5Cnb1nZGXdOlCQGxOsjkdpaXnBOr9AyDD0LrOhy8ogOMpgh6A==");
|
body.put("secretKey", "Xvt875SvK8zz7F+3Lj0faInIyd800TK0wGXt5GcaL4JubaXuwmlLoMXKXj7M9A21FxNB12mqhGqZnzW8ZSZHxQ==");
|
||||||
body.put("name", "swzk");
|
body.put("name", "ysej");
|
||||||
String result = HttpRequest.post("https://trans.tbmcloud.com.cn/trans/sentYSToken/ex/getToken")
|
String result = HttpRequest.post("https://trans.tbmcloud.com.cn/trans/sentYSToken/ex/getToken")
|
||||||
.body(JSON.toJSONString(body))
|
.body(JSON.toJSONString(body))
|
||||||
.execute()
|
.execute()
|
||||||
@ -414,8 +414,8 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
|
|||||||
String token = "";
|
String token = "";
|
||||||
if (MapUtils.getString(videoList.get(0), "appId").equals("noexist")) {
|
if (MapUtils.getString(videoList.get(0), "appId").equals("noexist")) {
|
||||||
JSONObject body = new JSONObject();
|
JSONObject body = new JSONObject();
|
||||||
body.put("secretKey", "z2YU1t7GRif9oJn/1dkKwG8VAPiAu1+u4m6vy5Cnb1nZGXdOlCQGxOsjkdpaXnBOr9AyDD0LrOhy8ogOMpgh6A==");
|
body.put("secretKey", " Xvt875SvK8zz7F+3Lj0faInIyd800TK0wGXt5GcaL4JubaXuwmlLoMXKXj7M9A21FxNB12mqhGqZnzW8ZSZHxQ==");
|
||||||
body.put("name", "swzk");
|
body.put("name", "ysej");
|
||||||
String result = HttpRequest.post("https://trans.tbmcloud.com.cn/trans/sentYSToken/ex/getToken")
|
String result = HttpRequest.post("https://trans.tbmcloud.com.cn/trans/sentYSToken/ex/getToken")
|
||||||
.body(JSON.toJSONString(body))
|
.body(JSON.toJSONString(body))
|
||||||
.execute()
|
.execute()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user