Browse Source

提交参数

sandm 3 years ago
parent
commit
29cb997026
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Services/Common/SmsService.php

+ 2 - 2
app/Services/Common/SmsService.php

@@ -41,9 +41,9 @@ class SmsService
      * @param string $template_alias
      * @param array $params
      */
-    public function sendSms(string $mobile, string $template_alias, array $params = [])
+    public function sendSms(string $mobile, string $template_alias, array $params = [], $isAuthSms = false, $isVariable = true, $content = '')
     {
-        $smsJob=new SmsJob($mobile, $template_alias, $params);
+        $smsJob=new SmsJob($mobile, $template_alias, $params, $isAuthSms, $isVariable, $content);
         $smsJob->setSender($this->utype, $this->sender_id);
         $smsJob->setCallback($this->callback);
         dispatch($smsJob);