WIN-2308041133\Administrator 7 달 전
부모
커밋
629348035a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/models/store/StoreOrder.php

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

@@ -994,7 +994,7 @@ class StoreOrder extends BaseModel
                     $product_info = StoreCart::where('id', $cart)->find()->toArray();
                     @file_put_contents('quanju.txt', json_encode($product_info) . "-购物车信息\r\n", 8);
 
-                    $product = StoreProductLevel::where('id', $product_info['product_id'])->where('level_id', $user['level'])->where('type', 1)->find();  //商品返现比例
+                    $product = StoreProductLevel::where('product_id', $product_info['product_id'])->where('level_id', $user['level'])->where('type', 1)->find();  //商品返现比例
                     @file_put_contents('quanju.txt', StoreProductLevel::getlastsql() . "-返利比例sql\r\n", 8);
                     @file_put_contents('quanju.txt', json_encode($product) . "-返利比例\r\n", 8);