添加日志

develop
bayuzhen 2024-08-30 16:16:00 +08:00
parent 2dc6d70f83
commit dccfc451bd
1 changed files with 1 additions and 0 deletions

View File

@ -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"));
}