WIN-2308041133\Administrator 2 ヶ月 前
コミット
9435e29d5a
1 ファイル変更3 行追加0 行削除
  1. 3 0
      app/services/product/product/StoreProductServices.php

+ 3 - 0
app/services/product/product/StoreProductServices.php

@@ -1196,6 +1196,9 @@ class StoreProductServices extends BaseServices
         if ($ifKeyword) {
             app()->make(UserSearchServices::class)->saveUserSearch($uid, $where['store_name'], [$where['store_name']], []);
         }
+        if ($where['is_lb']!=1){
+            $where['is_lb']=0;
+        }
         [$page, $limit] = $this->getPageValue();
         $where['vip_user'] = $uid ? app()->make(UserServices::class)->value(['uid' => $uid], 'is_money_level') : 0;
         $list = $this->dao->getSearchList($where, $page, $limit, ['id,store_name,cate_id,image,IFNULL(sales, 0) + IFNULL(ficti, 0) as sales,price,stock,activity,ot_price,spec_type,recommend_image,unit_name,is_vip,vip_price,is_virtual,presale,custom_form,virtual_type,min_qty,label_list,is_lb']);