添加日志
parent
2dc6d70f83
commit
dccfc451bd
|
@ -213,6 +213,7 @@ public class TrxServiceImpl implements TrxService {
|
|||
try {
|
||||
String url = trxUrl + "/tokenOnline";
|
||||
JSONObject result = JSONObject.parseObject(HttpUtil.post(url, trxToken, 10000));
|
||||
log.info("确认天融信token是否有效接口返回信息:" + JSONObject.toJSONString(result));
|
||||
if (!"0".equals(result.getString("result"))) {
|
||||
return new GeneralResult(false, "当前token无效" + result.getString("errmsg"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue