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