-
Notifications
You must be signed in to change notification settings - Fork 255
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
发送测试消息为空,请教。 #209
Comments
解决了吗? |
目前还没有,最近忙,没弄,弄好了我告诉你 |
id不存在 api调用存在问题 |
curl后面的访问url要用引号括起来,不然会被命令行转码导致访问出错 curl “http://10.3.10.246:3000/openwx/send_friend_message?id=xxx&content=hello” |
楼主可能用的是昵称而非ID,如果这样的话参数要用displayname进行传参,且非ascii字符要编码。 |
果然就是大神,谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker运行的项目:
docker run -it --env MOJO_WEIXIN_LOG_ENCODING=utf8 -p 3000:3000 -v /tmp/weixin:/tmp --name wechat sjdy521/mojo-weixin
发送测试消息:
curl http://10.3.10.246:3000/openwx/send_friend_message?id=xxx&content=hello
[1] 38476
{"code":100,"id":null,"status":"object not found"}
防火墙端口已经开放,但是docker不开放火墙运行又有问题。
The text was updated successfully, but these errors were encountered: