hehaiqiang 1 ano atrás
pai
commit
b8f40b4754
1 arquivos alterados com 5 adições e 2 exclusões
  1. 5 2
      app/controller/api/store/product/Vip.php

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

@@ -297,11 +297,13 @@ class Vip extends BaseController
297
 
297
 
298
         $keyword = $this->request->param('keyword');
298
         $keyword = $this->request->param('keyword');
299
         $_cid = $this->request->param('cid');
299
         $_cid = $this->request->param('cid');
300
-
300
+        log::info("2222222222222222222222222");
301
 
301
 
302
         
302
         
303
         $goods_obj = Db::name('third_party_goods')
303
         $goods_obj = Db::name('third_party_goods')
304
             ->where('type', 5);
304
             ->where('type', 5);
305
+//        Log::info("vip=================");
306
+//        Log::info($goods_obj);
305
         if($keyword){
307
         if($keyword){
306
             $goods_obj=$goods_obj->where('json', 'like', '%' . $keyword . '%');
308
             $goods_obj=$goods_obj->where('json', 'like', '%' . $keyword . '%');
307
         }
309
         }
@@ -516,7 +518,7 @@ class Vip extends BaseController
516
         try{
518
         try{
517
             $uid = $this->request->uid();
519
             $uid = $this->request->uid();
518
         } catch (\Exception $e) {
520
         } catch (\Exception $e) {
519
-            g::info($e);
521
+            log::info($e);
520
             $uid=0;
522
             $uid=0;
521
         }
523
         }
522
         $param = $this->request->param(['goodsId']);
524
         $param = $this->request->param(['goodsId']);
@@ -694,6 +696,7 @@ class Vip extends BaseController
694
             ]
696
             ]
695
         ];
697
         ];
696
         $result = $this->getUrlResult($apiName, "genPid", $params);
698
         $result = $this->getUrlResult($apiName, "genPid", $params);
699
+        log::info();
697
         if ($result) {
700
         if ($result) {
698
             $data =
701
             $data =
699
                 [
702
                 [