From 46ace721226184319848dd1bb89a2554b421f9cd Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Wed, 27 Sep 2023 12:23:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=95=86=E6=88=B7=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/merchant/MerchantIntention.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index ecf2e614..4a83faa7 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -98,7 +98,7 @@ class MerchantIntention extends BaseController $res = $this->sendMerIntentionApply($sendData, $postUrl); if (!$res['ok']) { Db::name('merchant_intention')->where('mer_intention_id', $intention->mer_intention_id)->delete(); - throw new ValidateException('申请商户入驻失败,' . $res['msg']); + throw new ValidateException('供销平台申请商户入驻失败,' . $res['msg']); } return app('json')->success('提交成功'); } @@ -206,7 +206,7 @@ class MerchantIntention extends BaseController $res = $this->sendMerIntentionApply($sendData, $postUrl); if (!$res['ok']) { Db::name('merchant_intention')->where('mer_intention_id', $intentionId)->delete(); - throw new ValidateException('商户交易申请失败,' . $res['msg']); + throw new ValidateException('供销平台商户交易申请失败,' . $res['msg']); } Db::name('merchant')->where('uid', $this->userInfo->uid)->where('status', 1)->update(['business_status'=>1]); return app('json')->success('申请成功'); @@ -299,7 +299,7 @@ class MerchantIntention extends BaseController $postUrl = env('TASK_WORKER_HOST_URL') . '/adminapi/company/createShopMerchant'; $res = $this->sendMerIntentionApply($sendData, $postUrl); if (!$res['ok']) { - throw new ValidateException('申请商户入驻失败,' . $res['msg']); + throw new ValidateException('供销平台申请商户入驻失败,' . $res['msg']); } return app('json')->success('修改成功'); }