quguofeng 2 years ago
parent
commit
b78e2502dc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/controller/api/store/order/StoreOrder.php

+ 1 - 0
app/controller/api/store/order/StoreOrder.php

@@ -93,6 +93,7 @@ class StoreOrder extends BaseController
             //如果商品没设置支付百分比也不能选择百分比支付
             $cart_info = $cartRepository->findOrCreate(array('cart_id'=>$cartId[0]));
             $product_info = $ProductRepository->findOrCreate(array('product_id'=>$cart_info->product_id));
+            var_dump($product_info->pay_percentage);exit();
             if(empty($product_info->pay_percentage)){
                 return app('json')->fail('该商品不支持百分比支付');
             }