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