Commit 948301b0 authored by 赵啸非's avatar 赵啸非

修改配置文件

parent 13329924
...@@ -197,9 +197,8 @@ public class ProxyController { ...@@ -197,9 +197,8 @@ public class ProxyController {
JSONObject data = rspJson.getJSONObject("data"); JSONObject data = rspJson.getJSONObject("data");
JSONObject interdata = data.getJSONObject("data");
String tid = interdata.getString("tid"); String tid = data.getString("tid");
if (!ObjectUtils.isEmpty(tid) && "/file".startsWith(tid)) { if (!ObjectUtils.isEmpty(tid) && "/file".startsWith(tid)) {
...@@ -208,7 +207,7 @@ public class ProxyController { ...@@ -208,7 +207,7 @@ public class ProxyController {
String base64Str = Base64.encode(new File(filePath)); String base64Str = Base64.encode(new File(filePath));
log.info("base64Str:{}", base64Str); log.info("base64Str:{}", base64Str);
interdata.put("tid", base64Str); data.put("tid", base64Str);
return Rest.ok("透传请求成功!", rspJson.toJSONString()); return Rest.ok("透传请求成功!", rspJson.toJSONString());
} }
......
...@@ -73,7 +73,7 @@ Content-Type: application/json ...@@ -73,7 +73,7 @@ Content-Type: application/json
} }
###透传代理接口get ###透传代理接口get
POST http://192.168.0.250:11089/entservice/proxy/post POST http://192.168.0.250:11072/basics_api/entservice/proxy/post
Content-Type: application/json Content-Type: application/json
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment