easy-sms icon indicating copy to clipboard operation
easy-sms copied to clipboard

聚合短信返回 模板变量不符合规范

Open Shmily1995 opened this issue 4 years ago • 2 comments

聚合短信返回 模板变量不符合规范,经测试 怀疑是 image 这里的http_build_query 把 # 号编码了 才错的 例如 $formatted["#code#"]=1122; 编译成 “%23code%23=1122” 后报错, 我直接 拼接成 “#code#=1122” 可以发送

Shmily1995 avatar Oct 26 '21 02:10 Shmily1995

使用 urldecode(http_build_query($formatted)) 把# 转回去 可正常发送

Shmily1995 avatar Oct 26 '21 02:10 Shmily1995

欢迎 PR

overtrue avatar Oct 26 '21 02:10 overtrue