From 34f2695002c0a36fa0f5c5bef003e7967df81e63 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 18 May 2026 15:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=20-=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E4=BC=9A=E7=94=B3=E8=AF=B7=E5=AE=A1=E6=A0=B8=E9=80=9A?= =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E9=80=9A=E7=9F=A5=E7=BC=B4=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/wdsxh/member/apply/Apply.php | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/application/admin/controller/wdsxh/member/apply/Apply.php b/application/admin/controller/wdsxh/member/apply/Apply.php index f966979..ec86111 100644 --- a/application/admin/controller/wdsxh/member/apply/Apply.php +++ b/application/admin/controller/wdsxh/member/apply/Apply.php @@ -1,6 +1,6 @@ membership_apply_successful_notify($member_data['mobile']); + } + $this->success(); } @@ -383,6 +389,24 @@ class Apply extends Backend } } + private function membership_apply_successful_notify($phoneNumbers) + { + $configObj = (new \app\admin\model\wdsxh\Config())->where('id', 1)->find(); + if (!empty($configObj['alibaba_cloud_sign_name']) + && !empty($configObj['alibaba_cloud_access_key_id']) + && !empty($configObj['alibaba_cloud_access_key_secret']) + && !empty($configObj['alibaba_membership_apply_successful_notify']) + && !empty($phoneNumbers) + ) { + $userSendSmsRequestParam = [ + "phoneNumbers" => $phoneNumbers, + "templateCode" => $configObj['alibaba_membership_apply_successful_notify'], + ]; + + AlibabaCloudSms::main($userSendSmsRequestParam); + } + } + /** * Desc 驳回 * Create on 2024/3/7 15:56