记得上下班打卡 | git大法好,push需谨慎

Commit 26291983 authored by jiangxiulong's avatar jiangxiulong

允许重试

parent 521dd983
...@@ -63,7 +63,10 @@ public class GoblinNFTUserController { ...@@ -63,7 +63,10 @@ public class GoblinNFTUserController {
} }
GoblinUserNftAccInfoVo openAccountInfo = goblinRedisUtils.getOpenAccountInfo(currentUid); GoblinUserNftAccInfoVo openAccountInfo = goblinRedisUtils.getOpenAccountInfo(currentUid);
if (null != openAccountInfo) {// 已申请开通或开通处理中 if (null != openAccountInfo) {// 已申请开通或开通处理中
return ResponseDto.success(openAccountInfo); String code = openAccountInfo.getCode();
if (!"3000".equals(code) && !"3001".equals(code)) { // 不可重试
return ResponseDto.success(openAccountInfo);
}
} }
return goblinNftUserService.openNftAccount(currentUid, bizCode, name, idCard, mobile); return goblinNftUserService.openNftAccount(currentUid, bizCode, name, idCard, mobile);
......
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