WIN-2308041133\Administrator 4 months ago
parent
commit
df788304f5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/store/StoreProduct.php

+ 1 - 0
app/models/store/StoreProduct.php

@@ -289,6 +289,7 @@ class StoreProduct extends BaseModel
                 return $isSingle ? $list : 0;
         //当$list为数组时$isSingle==true为一维数组 ,否则为二维
         if ($isSingle){
+            @file_put_contents('quanju.txt',  json_encode($list)."-4\r\n", 8);
             $list['vip_price'] = isset($list['price']) ? bcsub($list['price'], bcmul($discount, $list['price'], 2), 2) : 0;
         }
 //            if ($list['is_Inclusive']==0&&$list['is_points']==0&&$list['is_explosive']==0){