正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -118,7 +118,7 @@ class BusinessController extends Controller | @@ -118,7 +118,7 @@ class BusinessController extends Controller | ||
118 | public function business() | 118 | public function business() |
119 | { | 119 | { |
120 | $param=$this->request->param(); | 120 | $param=$this->request->param(); |
121 | - $data=Db::name('business')->where('id',$param['category_id'])->select()->each(function ($item) { | 121 | + $data=Db::name('business')->where('category_id',$param['category_id'])->select()->each(function ($item) { |
122 | switch ($item['type']) | 122 | switch ($item['type']) |
123 | { | 123 | { |
124 | case 1:$item['type']='阅读类';break; | 124 | case 1:$item['type']='阅读类';break; |
-
请 注册 或 登录 后发表评论