From 521659c64a3199872c76b375d7819c09a2500f10 Mon Sep 17 00:00:00 2001 From: qianhy Date: Wed, 15 Mar 2023 14:13:42 +0800 Subject: [PATCH] customers log put weichat need imgs --- api/controllers/wxapp/licheb/Customers.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index bc8eb1e7..ae365450 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -410,6 +410,9 @@ class Customers extends Wxapp $invalid_tag = $this->input_param('invalid_tag'); //战败标签 $daodian_tag = $this->input_param('daodian_tag'); //意向标签-到店 $goumai_tag = $this->input_param('goumai_tag'); //意向标签-购买 + if ($follow_channel == '微信' && !$content_imgs){ + throw new Exception('请上传跟进截图!', ERR_PARAMS_ERROR); + } $row = $this->customers_model->get(['id' => $id]); if (!$row) { throw new Exception('数据不存在!', ERR_PARAMS_ERROR);