Explorar el Código

清洗服务费结算

whitefang hace 1 año
padre
commit
e4ef563691
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/workerapi/lists/GoodsCategoryLists.php

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

@@ -33,7 +33,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');
-                $category_types && $where['category_type'] = ['in', $category_types];
+                $where['category_type'] = ['in', $category_types];
             }
         }
         return $where;