Kirin 3 năm trước cách đây
mục cha
commit
c2c82f3b53

+ 1 - 1
crmeb/repositories/ShortLetterRepositories.php

@@ -65,7 +65,7 @@ class ShortLetterRepositories
             $res = $sms->setAction('SendSms')->setOptions([
             $res = $sms->setAction('SendSms')->setOptions([
                 'PhoneNumbers' => $phone,
                 'PhoneNumbers' => $phone,
                 'SignName' => '满园春',
                 'SignName' => '满园春',
-                'TemplateCode' => Config::get('sms.stores.aliyun.template_id.' . $template, 'sms.stores.aliyun.template_id.DEFAULT'),
+                'TemplateCode' => \think\facade\Config::get('sms.stores.aliyun.template_id.' . $template, 'sms.stores.aliyun.template_id.DEFAULT'),
                 'TemplateParam' => json_encode($data),
                 'TemplateParam' => json_encode($data),
             ])->execute();
             ])->execute();
             if ($res['Code'] != 'OK') {
             if ($res['Code'] != 'OK') {