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