From fe9308693991ebfe5320163fa5c87335c10788b0 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 19 Sep 2023 17:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=9D=99=E6=80=81=E8=B5=84?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/merchant/MerchantIntention.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index a372e4da..1e7d6806 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -178,8 +178,8 @@ class MerchantIntention extends BaseController $merIntentionInfo = $this->repository->getWhere(['mer_intention_id' => (int)$id, 'uid' => $this->userInfo->uid, 'is_del' => 0]); if (!$merIntentionInfo) return app('json')->fail('数据不存在'); - if ($merIntentionInfo['status']) { - return app('json')->fail('已审核数据不能修改'); + if ($merIntentionInfo['status'] == 1) { + return app('json')->fail('已通过审核数据不能修改'); } $data = $this->checkParams(); if (!systemConfig('mer_intention_open')) {