作者 jiawen
1 个管道 的构建 通过 耗费 0 秒

产品筛选

@@ -18,6 +18,7 @@ class ProductController extends AdminBaseController @@ -18,6 +18,7 @@ class ProductController extends AdminBaseController
18 public function getList() { 18 public function getList() {
19 $request = input('request.'); 19 $request = input('request.');
20 $type = ''; 20 $type = '';
  21 + $where = [];
21 if (!empty($request['type'])) { 22 if (!empty($request['type'])) {
22 $where['p.type'] = intval($request['type']); 23 $where['p.type'] = intval($request['type']);
23 $type =$request['type']; 24 $type =$request['type'];