zxhxx 3 년 전
부모
커밋
960bdaaa44
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/models/store/StoreProduct.php

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

@@ -130,7 +130,7 @@ class StoreProduct extends BaseModel
                 if (is_null($item['cart_num'])) $item['cart_num'] = 0;
             }
         });
-        @file_put_contents("pro.txt",json_encode($list));
+        @file_put_contents("pro.txt",json_encode($list).'--'.$model->getLastSql());
         $list = count($list) ? $list->toArray() : [];
         if (!empty($list)) {
             foreach ($list as $k => $v) {