@@ -392,6 +392,10 @@ public class FsIntegralOrderServiceImpl implements IFsIntegralOrderService
goodsItem.add(integralGoods);
}
+ if(user.getIntegral() < totalIntegral){
+ return R.error("积分不足");
+ }
+
return createOrder(user, address, totalIntegral, totalCash, goodsItem, null);