...
|
...
|
@@ -118,7 +118,7 @@ class BusinessController extends Controller |
|
|
public function business()
|
|
|
{
|
|
|
$param=$this->request->param();
|
|
|
$data=Db::name('business')->where('id',$param['category_id'])->select()->each(function ($item) {
|
|
|
$data=Db::name('business')->where('category_id',$param['category_id'])->select()->each(function ($item) {
|
|
|
switch ($item['type'])
|
|
|
{
|
|
|
case 1:$item['type']='阅读类';break;
|
...
|
...
|
|