|
|
@@ -155,7 +155,13 @@ public class CouponFontServiceImpl implements CouponFontService {
|
|
|
// } else if (data.getUseScope() == Coupon.UseScope.orders) {
|
|
|
// data.setReason(String.format("%s下单时可使用", data.getReason()));
|
|
|
// }
|
|
|
- data.setReason(I18nMessageUtil.getI18nMsg("coupon_sku_not_available_error"));
|
|
|
+ if (data.getUseScope() == Coupon.UseScope.renew) {
|
|
|
+ data.setReason(I18nMessageUtil.getI18nMsg("coupon_sku_not_available_renew_error"));
|
|
|
+ } else if (data.getUseScope() == Coupon.UseScope.orders) {
|
|
|
+ data.setReason(I18nMessageUtil.getI18nMsg("coupon_sku_not_available_order_error"));
|
|
|
+ } else {
|
|
|
+ data.setReason(I18nMessageUtil.getI18nMsg("coupon_sku_not_available_error"));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (goodsDonSkuView.getType() == 2 && data.getType() == Coupon.Type.reduce) {
|