dever 3 years ago
parent
commit
e8ab8bea67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/shop/lib/Sell.php

+ 1 - 1
app/shop/lib/Sell.php

@@ -406,7 +406,7 @@ class Sell
             $data['user_coupon_id'] = $user_coupon_id;
             $data['coupon_id'] = $goods_coupon['id'];
             $data['coupon_cash'] = $goods_coupon['cash'];
-        } elseif ($shop_coupon_id && $type == 3) {
+        } elseif ($shop_coupon_id) {
             # 店里直接给用优惠券
             if ($data['price'] <= 0) {
                 Dever::alert('付款价格错误');