From c5918d8acb9579eecebbdc5dc57d1630dbdd7180 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Fri, 8 Sep 2023 16:08:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A7=94=E6=89=98=E5=A4=A9?= =?UTF-8?q?=E6=95=B0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/community/Community.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/community/Community.php b/app/controller/api/community/Community.php index b247f4c7..376031c9 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -294,10 +294,10 @@ class Community extends BaseController if (!$data['video_link']) throw new ValidateException('请上传视频'); } elseif ($data['is_type'] == 4) { if (empty($data['entrust_mer_id']) || empty($data['entrust_day'])) { - throw new ValidateException('请选择供应链商家、委托天数'); + throw new ValidateException('供应链商家及委托天数不能为空'); } if ($data['entrust_day'] < 15 || $data['entrust_day'] > 90) { - throw new ValidateException('委托天数区间为[15-90]'); + throw new ValidateException('委托天数区间为[15-90]天'); } }