|
@@ -92,6 +92,7 @@ public class OfflineController {
|
|
|
String res = HttpRequest.post(localNetworkUrl + dto.getAction())
|
|
|
.header("token", request.getHeader("token"))
|
|
|
.execute().body();
|
|
|
+ OfflineController.log.info("checkToken返回:{}", res);
|
|
|
JSONObject resObject = JSONObject.parseObject(res);
|
|
|
if (null != resObject) {
|
|
|
if (resObject.containsKey("code")) {
|
|
@@ -103,9 +104,9 @@ public class OfflineController {
|
|
|
}
|
|
|
}
|
|
|
String result2 = HttpRequest.post(localNetworkUrl + dto.getAction())
|
|
|
- .body(dto.getParams())
|
|
|
+ .body(JSONObject.parseObject(dto.getParams()).toJSONString())
|
|
|
.execute().body();
|
|
|
- return Result.success(result2);
|
|
|
+ return result2;
|
|
|
|
|
|
}
|
|
|
}
|