WIN-2308041133\Administrator vor 1 Woche
Ursprung
Commit
68c3a2abbf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/models/store/StoreOrder.php

+ 1 - 1
app/models/store/StoreOrder.php

@@ -1004,7 +1004,7 @@ class StoreOrder extends BaseModel
                     $product_radio = 0;
                     $product_radio = 0;
                     $product_info = StoreCart::where('id', $cart)->find()->toArray();
                     $product_info = StoreCart::where('id', $cart)->find()->toArray();
 
 
-                    $product = StoreProductLevel::where('id', $product_info['product_id'])->where('level_id', $user['level'])->find();  //商品返现比例
+                    $product = StoreProductLevel::where('id', $product_info['product_id'])->where('level_id', $user['level'])->where('type',1)->find();  //商品返现比例
                     if (!empty($product)) {
                     if (!empty($product)) {
                         $product = $product->toArray();
                         $product = $product->toArray();
                         $product_radio = $product['rebate_ratio'];
                         $product_radio = $product['rebate_ratio'];