Просмотр исходного кода

//recharge

release_toaliyun_real
xhxu 3 лет назад
Родитель
Сommit
ec4b912e38
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCardInfoServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCardInfoServiceImpl.java Просмотреть файл

@@ -464,7 +464,7 @@ public class WxCardInfoServiceImpl implements WxCardInfoService {
return new ResultData(ErrorCode.CARD_IS_NOT_RECHARGE.getCode(),"有补贴不支持充值");
}
Date currentDate = new Date();
if(currentDate.after(wxCoupon.getValidEndDate())){
if(wxCoupon.getValidEndDate() != null && currentDate.after(wxCoupon.getValidEndDate())){
return new ResultData(ErrorCode.CARD_IS_NOT_RECHARGE.getCode(),"卡已过期,不支持充值");
}



Загрузка…
Отмена
Сохранить