add:商户认证反馈

This commit is contained in:
chenbo 2023-09-13 20:51:05 +08:00
parent 57b3271cf4
commit 9d608716c6

View File

@ -223,9 +223,15 @@ class ShopContractLogic extends BaseLogic
$res = app(JunziqianController::class)->SigningLink($v); $res = app(JunziqianController::class)->SigningLink($v);
if ($res->success == true) { if ($res->success == true) {
if ($v['type'] == 'party_a') { if ($v['type'] == 'party_a') {
$url['party_a'] =$res->data; $url['a'] =$res->data;
} else { } else {
$url['party_b'] =$res->data; $url['b'] =$res->data;
}
if ($v['type'] == 'party_a') {
$v['type'] = 'a';
}
if ($v['type'] == 'party_b') {
$v['type'] = 'b';
} }
//发送短信 //发送短信
$sms = [ $sms = [
@ -236,7 +242,6 @@ class ShopContractLogic extends BaseLogic
'scene' => 'WQ' 'scene' => 'WQ'
]; ];
$result = SmsLogic::contractUrl($sms); $result = SmsLogic::contractUrl($sms);
if ($result != true) { if ($result != true) {
return self::setError(SmsLogic::getError()); return self::setError(SmsLogic::getError());
} }