|
@@ -85,7 +85,7 @@ public class OfflineController {
|
|
|
@ApiImplicitParam(name = "params", value = "参数", dataType = "String"),
|
|
|
@ApiImplicitParam(name = "action", value = "接口名称", dataType = "String")})
|
|
|
@NoAuthentication
|
|
|
- public Object forwardPost(HttpServletRequest request, @RequestBody RequestForwardPost dto) {
|
|
|
+ public JSONObject forwardPost(HttpServletRequest request, @RequestBody RequestForwardPost dto) {
|
|
|
if (ObjectUtil.isNotNull(request.getHeader("token")) && StrUtil.isNotEmpty(request.getHeader("token"))) {
|
|
|
String url = mainUrl + "api/sso/user/checkToken";
|
|
|
OfflineController.log.info("验证token的url:{}", url);
|
|
@@ -108,7 +108,7 @@ public class OfflineController {
|
|
|
.body(JSONObject.parseObject(dto.getParams()).toJSONString())
|
|
|
.header("Content-Type", "application/json")
|
|
|
.execute().body();
|
|
|
- return JSONObject.parseObject(result2).toJSONString();
|
|
|
+ return JSONObject.parseObject(result2);
|
|
|
|
|
|
}
|
|
|
}
|