hehaiqiang пре 1 година
родитељ
комит
b8f40b4754
1 измењених фајлова са 5 додато и 2 уклоњено
  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 298
         $keyword = $this->request->param('keyword');
299 299
         $_cid = $this->request->param('cid');
300
-
300
+        log::info("2222222222222222222222222");
301 301
 
302 302
         
303 303
         $goods_obj = Db::name('third_party_goods')
304 304
             ->where('type', 5);
305
+//        Log::info("vip=================");
306
+//        Log::info($goods_obj);
305 307
         if($keyword){
306 308
             $goods_obj=$goods_obj->where('json', 'like', '%' . $keyword . '%');
307 309
         }
@@ -516,7 +518,7 @@ class Vip extends BaseController
516 518
         try{
517 519
             $uid = $this->request->uid();
518 520
         } catch (\Exception $e) {
519
-            g::info($e);
521
+            log::info($e);
520 522
             $uid=0;
521 523
         }
522 524
         $param = $this->request->param(['goodsId']);
@@ -694,6 +696,7 @@ class Vip extends BaseController
694 696
             ]
695 697
         ];
696 698
         $result = $this->getUrlResult($apiName, "genPid", $params);
699
+        log::info();
697 700
         if ($result) {
698 701
             $data =
699 702
                 [