Browse Source

注释日志

sunxbiao 6 months ago
parent
commit
e569df33ee

+ 1 - 1
app/common/middleware/AdminTokenMiddleware.php

@@ -32,7 +32,7 @@ class AdminTokenMiddleware extends BaseMiddleware
32
      */
32
      */
33
     public function before(Request $request)
33
     public function before(Request $request)
34
     {
34
     {
35
-        \think\facade\Log::info('Midd_ko=>'.\GuzzleHttp\json_encode($request));
35
+        // \think\facade\Log::info('Midd_ko=>'.\GuzzleHttp\json_encode($request));
36
         $force = $this->getArg(0, true);
36
         $force = $this->getArg(0, true);
37
         try {
37
         try {
38
             $token = trim($request->header('X-Token'));
38
             $token = trim($request->header('X-Token'));

+ 1 - 1
app/common/repositories/store/product/ProductRepository.php

@@ -859,7 +859,7 @@ class ProductRepository extends BaseRepository
859
 
859
 
860
         //搜索记录
860
         //搜索记录
861
         if ($userInfo && isset($where['keyword']) && !empty($where['keyword'])){
861
         if ($userInfo && isset($where['keyword']) && !empty($where['keyword'])){
862
-            log::info("======sousuojilu====");
862
+            // log::info("======sousuojilu====");
863
             app()->make(UserVisitRepository::class)->searchProduct($userInfo['uid'], $where['keyword']);
863
             app()->make(UserVisitRepository::class)->searchProduct($userInfo['uid'], $where['keyword']);
864
         }
864
         }
865
 
865
 

+ 1 - 1
app/controller/api/store/product/TaoKe.php

@@ -184,7 +184,7 @@ class TaoKe extends BaseController
184
 
184
 
185
         $params['cat_id'] = $cat_id;
185
         $params['cat_id'] = $cat_id;
186
 
186
 
187
-        Log::info($params);
187
+        // Log::info($params);
188
 
188
 
189
         $apiName = 'pdd.ddk.goods.search';
189
         $apiName = 'pdd.ddk.goods.search';
190
         $result = $this->getUrlResult($apiName, $params);
190
         $result = $this->getUrlResult($apiName, $params);

+ 2 - 2
app/controller/api/store/product/Vip.php

@@ -313,8 +313,8 @@ class Vip extends BaseController
313
             ->orderRaw("RAND({$salt})")
313
             ->orderRaw("RAND({$salt})")
314
             ->select()->toArray();
314
             ->select()->toArray();
315
 
315
 
316
-        Log::info("vip=================");
317
-        log::info($data);
316
+        // Log::info("vip=================");
317
+        // log::info($data);
318
 
318
 
319
         // 获取列表数据
319
         // 获取列表数据
320
         // $data = Db::name('third_party_goods')->where('type', 5)->page($page, $limit)->select()->toArray();
320
         // $data = Db::name('third_party_goods')->where('type', 5)->page($page, $limit)->select()->toArray();