|
@@ -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);
|