Skip to content

Commit

Permalink
修复腾讯云使用区号发送时,丢失手机号码参数的问题 overtrue#314 (overtrue#315)
Browse files Browse the repository at this point in the history
* 修复腾讯云使用区号发送时,丢失手机号码参数的问题 overtrue#314

修复腾讯云使用区号发送时,丢失手机号码参数的问题 overtrue#314

已经在本地测试了

* Update QcloudGateway.php

Co-authored-by: 安正超 <[email protected]>
  • Loading branch information
jesse7866 and overtrue authored Nov 9, 2021
1 parent 58e405f commit f7e89e3
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 @@ -57,7 +57,7 @@ public function send(PhoneNumberInterface $to, MessageInterface $message, Config

unset($data['sign_name']);

$phone = $to->getIDDCode() ?: "+86" . $to->getNumber();
$phone = ($to->getIDDCode() ?: "+86"). $to->getNumber();
$params = [
'PhoneNumberSet' => [
$phone
Expand Down

0 comments on commit f7e89e3

Please sign in to comment.