正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -50,7 +50,7 @@ class ServiceLogic extends BaseLogic | @@ -50,7 +50,7 @@ class ServiceLogic extends BaseLogic | ||
| 50 | * @time :2023/6/25 13:44 | 50 | * @time :2023/6/25 13:44 |
| 51 | */ | 51 | */ |
| 52 | public function serviceRead(){ | 52 | public function serviceRead(){ |
| 53 | - $info = $this->model->read(['id'=>$this->param['id'],'status'=>0]); | 53 | + $info = $this->model->read(['id'=>$this->param['id']]); |
| 54 | if(!empty($info['images'])){ | 54 | if(!empty($info['images'])){ |
| 55 | $arr = explode(',',$info['images']); | 55 | $arr = explode(',',$info['images']); |
| 56 | foreach ($arr as $k => $v){ | 56 | foreach ($arr as $k => $v){ |
| @@ -170,7 +170,7 @@ class CountLogic extends BaseLogic | @@ -170,7 +170,7 @@ class CountLogic extends BaseLogic | ||
| 170 | */ | 170 | */ |
| 171 | public function enterprise_service(){ | 171 | public function enterprise_service(){ |
| 172 | $enterpriseServiceModel = new EnterpriseServiceModel(); | 172 | $enterpriseServiceModel = new EnterpriseServiceModel(); |
| 173 | - $info = $enterpriseServiceModel->read(['status'=>0]); | 173 | + $info = $enterpriseServiceModel->read(['status'=>1]); |
| 174 | return $this->success($info); | 174 | return $this->success($info); |
| 175 | } | 175 | } |
| 176 | } | 176 | } |
-
请 注册 或 登录 后发表评论