diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index 220c74f5..d29ec22d 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -85,6 +85,10 @@ class MerchantIntention extends BaseController // Db::name('merchant_intention')->where('mer_intention_id', $intention->mer_intention_id)->delete(); // throw new ValidateException('申请商户入驻任务失败,请联系平台'); // } + $cdata['status'] = 1; + $cdata['create_mer'] = 0; + $cdata['fail_msg'] ='自动审核通过'; + $this->repository->updateStatus($intention->mer_intention_id, $cdata); return app('json')->success('提交成功'); }