toplan/phpsms

腾讯云短信接口方法名重复导致发送失败

Opened this issue · 1 comments

Guogb commented

Agent.phpQcloudAgent.php 文件中里都是存在 formatMobile() ,冲突导致无法获得手机号,短信发送失败。

dm521 commented

@Guogb 需要将这个formatMobile()注释掉。然后在发送的方法中,讲'tel' =>'to',更改为'tel' => ['nationcode' => '86', 'mobile' => $to],