From 9fbab2f73708e105c173c96f45dd0831100d3378 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GG6FIN9\\Administrator" <15040771@qq.com> Date: Wed, 29 Jul 2020 20:54:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/ServiceEvaluateController.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Controller/ServiceEvaluateController.php b/app/Controller/ServiceEvaluateController.php index e1947ef..eb6f590 100644 --- a/app/Controller/ServiceEvaluateController.php +++ b/app/Controller/ServiceEvaluateController.php @@ -46,11 +46,7 @@ class ServiceEvaluateController extends BaseController //根据用户iD 获取服务专员详细信息 $user_id = $this->request->input('user_id', 0); $res = $this->evaluateService->isPersonnel($user_id); - if(isset($res->status) && $res->status == 1){ - return $this->success($res); - }else{ - return $this->result('900','','服务专员不存在或被禁用'); - } + return $this->success($res); } /**