Commit 5fe1e1f6 by lijingjing

处理数据处理系统规则不规范且不改,接收token问题

parent 179d2597
......@@ -1635,7 +1635,8 @@ public class EntrustSampleItemServiceImpl extends BaseServiceImpl<EntrustSampleI
String token = "";
ErpRespResult<String> result = ErpRequest.sendGet(url, null, new TypeReference<ErpRespResult<String>>() {
});
if (result.success()) {
// 直接判断是否有值,有取,无默
if (StringUtils.isNotBlank(result.getMessage())) {
token = result.getMessage();
logger.info("==== EntrustSampleItemServiceImpl ==== getErpToken ====> token: {}", token);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment