Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

感谢作者,试用了一下可以用 #5

Open
hl668 opened this issue Apr 25, 2020 · 2 comments
Open

感谢作者,试用了一下可以用 #5

hl668 opened this issue Apr 25, 2020 · 2 comments

Comments

@hl668
Copy link

hl668 commented Apr 25, 2020

正准备自己写个简单的api调用,用来推送天气预报的。没想到发现了作者你这个已经写好的类,太感谢了,加鸡腿。

@hl668
Copy link
Author

hl668 commented Apr 25, 2020

之前只是用了数字测试,刚刚我测试发送中文消息,是有乱码的,好像需要对信息内容content和url进行urlEncode编码的,请问如何修改代码呢

@interestingcn
Copy link
Contributor

之前只是用了数字测试,刚刚我测试发送中文消息,是有乱码的,好像需要对信息内容content和url进行urlEncode编码的,请问如何修改代码呢

您好,使用quicksend方法时内部会自动调用urlencode函数进行编码您无需再次手动编码传入。标准模式send发送文件时根据源文档要求并无需进行url编码,您要是有需要可修改134行加入url编码函数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants