更新商户入驻申请
This commit is contained in:
parent
fa125194ae
commit
f5775884e3
@ -80,11 +80,11 @@ class MerchantIntention extends BaseController
|
||||
'street' => $streetId,
|
||||
'mer_intention_id' => $intention->mer_intention_id
|
||||
];
|
||||
$res = $this->sendMerIntentionApply($sendData);
|
||||
if (!$res) {
|
||||
Db::name('merchant_intention')->where('mer_intention_id', $intention->mer_intention_id)->delete();
|
||||
throw new ValidateException('申请商户入驻任务失败,请联系平台');
|
||||
}
|
||||
// $res = $this->sendMerIntentionApply($sendData);
|
||||
// if (!$res) {
|
||||
// Db::name('merchant_intention')->where('mer_intention_id', $intention->mer_intention_id)->delete();
|
||||
// throw new ValidateException('申请商户入驻任务失败,请联系平台');
|
||||
// }
|
||||
return app('json')->success('提交成功');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user