From 6243d7f18ca7d1cf35e1d54b12b1d0a28a670b4f Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Fri, 13 Aug 2021 14:00:58 +0800 Subject: [PATCH] edit-api-licheb --- api/controllers/wxapp/liche/Contract.php | 2 +- api/controllers/wxapp/licheb/Protocol.php | 2 +- api/views/wxapp/licheb/protocol/agent.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/controllers/wxapp/liche/Contract.php b/api/controllers/wxapp/liche/Contract.php index 7c12211d..bf4cbe54 100644 --- a/api/controllers/wxapp/liche/Contract.php +++ b/api/controllers/wxapp/liche/Contract.php @@ -105,7 +105,7 @@ class Contract extends Wxapp{ } //获取公司印章 if($type==1){ - $company = $this->sys_company_model->get(["title like '%厦门狸车服务%'"=>null],'img_seal,id'); + $company = $this->sys_company_model->get(["title like '%服务%'"=>null,'status'=>1],'img_seal,id'); }else{ $biz = $this->biz_model->get(['id'=>$order['biz_id']],'company_id'); $company = $this->sys_company_model->get(['id'=>$biz['company_id']],'img_seal,id'); diff --git a/api/controllers/wxapp/licheb/Protocol.php b/api/controllers/wxapp/licheb/Protocol.php index 016024ac..7c024611 100644 --- a/api/controllers/wxapp/licheb/Protocol.php +++ b/api/controllers/wxapp/licheb/Protocol.php @@ -81,7 +81,7 @@ class Protocol extends CI_Controller{ if($row){ //获取门店信息 $biz = $this->biz_model->get(['id'=>$row['biz_id']]); - $row['company'] = $this->sys_company_model->get(["title like '%厦门狸车服务%'"=>null]); + $row['company'] = $this->sys_company_model->get(["title like '%服务%'"=>null,'status'=>1]); //获取服务包 $packs = $this->package_model->get(['id'=>$row['pack_id']],'srv_ids'); if($packs['srv_ids']){ diff --git a/api/views/wxapp/licheb/protocol/agent.php b/api/views/wxapp/licheb/protocol/agent.php index ea3237e5..4b2c45b4 100644 --- a/api/views/wxapp/licheb/protocol/agent.php +++ b/api/views/wxapp/licheb/protocol/agent.php @@ -2,7 +2,7 @@
-