统一登陆接口修改
This commit is contained in:
@ -556,7 +556,7 @@ public class UserController {
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
try {
|
||||
//储能登陆
|
||||
String enUrl = "http://localhost:8012/api/sys/user/login";
|
||||
String enUrl = "http://192.168.0.142:8012/api/sys/user/login";
|
||||
String enJson = HttpUtils.postWithJson(enUrl,mapper.writeValueAsString(loginReqVO));
|
||||
JSONObject en = JSONObject.parseObject(enJson);
|
||||
Integer codeEn = en.getInteger("code");
|
||||
@ -566,7 +566,7 @@ public class UserController {
|
||||
unifiedLoginVo.setEnergy(enVo);
|
||||
}
|
||||
//光伏登陆
|
||||
String pvUrl = "http://localhost:18012/api/sys/user/login";
|
||||
String pvUrl = "http://192.168.0.183:18012/api/sys/user/login";
|
||||
String pvJson = HttpUtils.postWithJson(pvUrl,mapper.writeValueAsString(loginReqVO));
|
||||
JSONObject pv = JSONObject.parseObject(pvJson);
|
||||
Integer codePv = pv.getInteger("code");
|
||||
|
||||
Reference in New Issue
Block a user