|
@@ -119,7 +119,11 @@ public class TenantPaymentOrderServiceImpl extends BaseServiceImpl<Long, TenantP
|
|
|
// 是否满足条件
|
|
|
if (tenantEntryActivities.getSuitableUser() == SuitableUser.NEW) {
|
|
|
if (po.getStatus() == DealStatusEnum.ING) {
|
|
|
- throw new BizException("您参加的首充活动正在处理中,预计于{}分钟后处理完毕,请稍后。", 30 - DateUtil.minutesBetween(po.getCreateTime(), date));
|
|
|
+ int i = 35 - DateUtil.minutesBetween(po.getCreateTime(), date);
|
|
|
+ if(i <= 0){
|
|
|
+ throw new BizException("您的订单出现异常,请联系客服");
|
|
|
+ }
|
|
|
+ throw new BizException("您参加的首充活动正在处理中,预计于{}分钟后处理完毕,请稍后。", i);
|
|
|
}
|
|
|
if (po.getStatus() == DealStatusEnum.SUCCESS) {
|
|
|
throw new BizException("首充优惠活动每个用户限参与一次。");
|