REQ-2960 还原代码
This commit is contained in:
parent
00f24e5a7b
commit
190ca86506
@ -46,18 +46,18 @@ public class TaiZhouClient {
|
||||
|
||||
public String getToken() {
|
||||
|
||||
return getTokenSelf();
|
||||
// return getTokenSelf();
|
||||
|
||||
// ApiResult<GetTaiZhouTokenRes> result = taizhouApi.getToken();
|
||||
//
|
||||
// log.info("从elise获取泰州token结果:{}", JSON.toJSONString(result));
|
||||
//
|
||||
// if (result.isSuccess()) {
|
||||
// return result.getData().getToken();
|
||||
// } else {
|
||||
// log.error("从elise获取泰州token异常:{}", result.getMsg());
|
||||
// return null;
|
||||
// }
|
||||
ApiResult<GetTaiZhouTokenRes> result = taizhouApi.getToken();
|
||||
|
||||
log.info("从elise获取泰州token结果:{}", JSON.toJSONString(result));
|
||||
|
||||
if (result.isSuccess()) {
|
||||
return result.getData().getToken();
|
||||
} else {
|
||||
log.error("从elise获取泰州token异常:{}", result.getMsg());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user