Merge remote-tracking branch 'origin/develop' into develop

develop
guyuliang 2024-08-30 17:26:57 +08:00
commit 152856d8f9
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"));
}