|
@@ -1924,7 +1924,7 @@ public class HeliPayNonOrderServiceImpl implements HeliPayNonOrderService {
|
|
}
|
|
}
|
|
double moneyCouponPrice = co.getMoneyCouponPrice();
|
|
double moneyCouponPrice = co.getMoneyCouponPrice();
|
|
int needBeans = (int) moneyCouponPrice;
|
|
int needBeans = (int) moneyCouponPrice;
|
|
- if (beans < needBeans) {
|
|
|
|
|
|
+ if (beans < 1) {
|
|
return ResponseJson.error("采美豆数量不足!", null);
|
|
return ResponseJson.error("采美豆数量不足!", null);
|
|
}
|
|
}
|
|
//给券
|
|
//给券
|