From ff1fae0bd6f72b0a401688cd86a86b562f324cca Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Fri, 30 Jun 2023 10:33:37 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E6=A2=A6?= =?UTF-8?q?=E5=A4=A9token=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factory/mt/service/impl/MtFactoryDataServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java index 38d194f1b..6c97636d9 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java @@ -208,7 +208,7 @@ public class MtFactoryDataServiceImpl implements IMtFactoryDataService { jsonObject1.put("APPSECRET",mtFactoryProperties.getAppsecret()); jsonObject1.put("USERID",mtFactoryProperties.getUserid()); jsonObject1.put("USERPWD",mtFactoryProperties.getUserpwd()); - String result = HttpRequest.post(mtFactoryProperties.getUrl()) + String result = HttpRequest.post(mtFactoryProperties.getUrl()+"/Auth/Validate") .header("Content-Type","application/json").body(jsonObject1.toJSONString()).timeout(5 * 1000) .execute() .body(); @@ -235,8 +235,6 @@ public class MtFactoryDataServiceImpl implements IMtFactoryDataService { } return mtToken; - - }