From 19886d0eea7dedd960936e786423896df57add71 Mon Sep 17 00:00:00 2001 From: lichen Date: Tue, 9 Aug 2022 10:50:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(utils.sms):=20=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E5=A4=84=E9=85=8D=E7=BD=AE=E5=AE=9A=E4=B9=89=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Utils/Service/SmsService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils/Service/SmsService.php b/src/Utils/Service/SmsService.php index fe1df0d..2be02cb 100644 --- a/src/Utils/Service/SmsService.php +++ b/src/Utils/Service/SmsService.php @@ -36,8 +36,8 @@ class SmsService $config = new Config(); // 访问的域名 $config->endpoint = "dysmsapi.aliyuncs.com"; - $config->accessKeyId = config('common.third.sms.aliyun.access_key_id'); - $config->accessKeySecret = config('common.third.sms.aliyun.access_key_secret'); + $config->accessKeyId = config('common.third_party.sms.aliyun.access_key_id'); + $config->accessKeySecret = config('common.third_party.sms.aliyun.access_key_secret'); return new Dysmsapi($config); }