Browse Source

Merge branch 'dev' into test

test
zhenghaoyu 2 years ago
parent
commit
6e77591421
  1. 4
      blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java

4
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;
}

Loading…
Cancel
Save