|
@@ -241,7 +241,8 @@ public class GptProxyRechargeServiceImpl implements GptProxyRechargeService {
|
|
|
throw BusinessRuntimeException.getInstance("您输入的凭证有误,请重新输入");
|
|
throw BusinessRuntimeException.getInstance("您输入的凭证有误,请重新输入");
|
|
|
}
|
|
}
|
|
|
String rechargeAccount = tokenParseResult.getMessage();
|
|
String rechargeAccount = tokenParseResult.getMessage();
|
|
|
- if (!StrUtil.equals(rechargeAccount, userAccount)) {
|
|
|
|
|
|
|
+ //月付校验前后账号是否一致
|
|
|
|
|
+ if (sku.getMonths() == 1 && !StrUtil.equals(rechargeAccount, userAccount)) {
|
|
|
throw BusinessRuntimeException.getInstance("请填入绑定账号的token");
|
|
throw BusinessRuntimeException.getInstance("请填入绑定账号的token");
|
|
|
}
|
|
}
|
|
|
//记录代充账号 token
|
|
//记录代充账号 token
|