Kirin 2 years ago
parent
commit
c2c82f3b53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crmeb/repositories/ShortLetterRepositories.php

+ 1 - 1
crmeb/repositories/ShortLetterRepositories.php

@@ -65,7 +65,7 @@ class ShortLetterRepositories
             $res = $sms->setAction('SendSms')->setOptions([
                 'PhoneNumbers' => $phone,
                 '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),
             ])->execute();
             if ($res['Code'] != 'OK') {