|
@@ -86,7 +86,10 @@ public class ChongAfDianRechargeServiceImpl implements ChongAfDianRechargeServic
|
|
|
}
|
|
}
|
|
|
throw BusinessRuntimeException.getInstance("卡密:{0}错误", gptCardKey);
|
|
throw BusinessRuntimeException.getInstance("卡密:{0}错误", gptCardKey);
|
|
|
}
|
|
}
|
|
|
- if (!chongAfDianCardKeyResp.getExists() || !chongAfDianCardKeyResp.getValid()) {
|
|
|
|
|
|
|
+ if (!chongAfDianCardKeyResp.getExists()) {
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance("卡密:{}不存在", gptCardKey);
|
|
|
|
|
+ }
|
|
|
|
|
+ if (!chongAfDianCardKeyResp.getValid()) {
|
|
|
log.error("卡密:{}已被使用", gptCardKey);
|
|
log.error("卡密:{}已被使用", gptCardKey);
|
|
|
if (cmsUser == null) {
|
|
if (cmsUser == null) {
|
|
|
throw BusinessRuntimeException.getInstance("系统繁忙,请重试");
|
|
throw BusinessRuntimeException.getInstance("系统繁忙,请重试");
|