Skip to content

Commit

Permalink
腾讯云变量强制转换为字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Nov 4, 2021
1 parent 2d9e069 commit 58e405f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateways/QcloudGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function send(PhoneNumberInterface $to, MessageInterface $message, Config
'SmsSdkAppId' => $this->config->get('sdk_app_id'),
'SignName' => $signName,
'TemplateId' => (string) $message->getTemplate($this),
'TemplateParamSet' => array_values($data),
'TemplateParamSet' => array_map('strval', array_values($data)),
];

$time = time();
Expand Down

0 comments on commit 58e405f

Please sign in to comment.