diff --git a/app/adminapi/logic/ShopContractLogic.php b/app/adminapi/logic/ShopContractLogic.php index 040f3ea3b..75f204287 100644 --- a/app/adminapi/logic/ShopContractLogic.php +++ b/app/adminapi/logic/ShopContractLogic.php @@ -223,9 +223,15 @@ class ShopContractLogic extends BaseLogic $res = app(JunziqianController::class)->SigningLink($v); if ($res->success == true) { if ($v['type'] == 'party_a') { - $url['party_a'] =$res->data; + $url['a'] =$res->data; } 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 = [ @@ -236,7 +242,6 @@ class ShopContractLogic extends BaseLogic 'scene' => 'WQ' ]; $result = SmsLogic::contractUrl($sms); - if ($result != true) { return self::setError(SmsLogic::getError()); }