|
@@ -89,7 +89,7 @@ public class OfflineController {
|
|
|
if (ObjectUtil.isNotNull(request.getHeader("token")) && StrUtil.isNotEmpty(request.getHeader("token"))) {
|
|
|
String url = mainUrl + "api/sso/user/checkToken";
|
|
|
OfflineController.log.info("验证token的url:{}", url);
|
|
|
- String res = HttpRequest.post(localNetworkUrl + dto.getAction())
|
|
|
+ String res = HttpRequest.post(url)
|
|
|
.header("Content-Type", "application/json")
|
|
|
.header("token", request.getHeader("token"))
|
|
|
.execute().body();
|