Browse Source

清洗服务费结算

whitefang 1 year ago
parent
commit
48497f9790
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/workerapi/lists/GoodsCategoryLists.php

+ 1 - 2
app/workerapi/lists/GoodsCategoryLists.php

@@ -34,8 +34,7 @@ class GoodsCategoryLists extends BaseWorkerDataLists implements ListsSearchInter
             $ids = explode(',', MasterWorker::where('id', $this->userId)->value('category_ids'));
             if(!empty($ids)){
                 $category_types = GoodsCategory::where('id', 'in', $ids)->group('category_type')->column('category_type');
-                Log::write('用户'.$this->userId.'可查看的分类类型:'.implode(',', $category_types));
-                $where['category_type'] = ['in', $category_types];
+                $where['category_type'] = ['in', implode(',', $category_types)];
             }
         }
         return $where;