Kirin hace 2 años
padre
commit
c2c82f3b53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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') {