Giter Site home page Giter Site logo

Comments (9)

Cassius0924 avatar Cassius0924 commented on May 20, 2024 1

你的消息转发到了容器内部的 localhost:7560,而不是宿主机的 localhost:7560,你需要将 RECVD_MSG_API 参数改成 Docker 宿主机的 IP

from wechatbot-webhook.

AnRan-727 avatar AnRan-727 commented on May 20, 2024 1

你的消息转发到了容器内部的 localhost:7560,而不是宿主机的 localhost:7560,你需要将 RECVD_MSG_API 参数改成 Docker 宿主机的 IP

好的,明白了,已解决!谢谢!!!太感谢了!!!!!!!!!!!!!!!

from wechatbot-webhook.

AnRan-727 avatar AnRan-727 commented on May 20, 2024 1

看看curl命令和报错👀

诶呀 解决了解决了 我设置了LOGIN_API_TOKEN
但是用设置后的token也不行 然后我把LOGIN_API_TOKEN删掉了 就可以了

from wechatbot-webhook.

XHHzZz avatar XHHzZz commented on May 20, 2024

docker run -d
--name wxBotWebhook
-p 9999:9999
-e RECVD_MSG_API="http://192.168.110.110:9998/get/msg"
-e LOGIN_API_TOKEN=token
-v /etc/localtime:/etc/localtime:ro
dannicool/docker-wechatbot-webhook:latest

RECVD_MSG_API 这个就是接收消息的API
参数类型为form

from wechatbot-webhook.

danni-cool avatar danni-cool commented on May 20, 2024

正在重写收消息的文档,@XHHzZz 的例子还ok,就是需要懂点后端知识

from wechatbot-webhook.

AnRan-727 avatar AnRan-727 commented on May 20, 2024

image
配置了接收消息的api了 为什么会报错这个呀

from wechatbot-webhook.

AnRan-727 avatar AnRan-727 commented on May 20, 2024

我测试了别的请求 是可以请求到的
image

from wechatbot-webhook.

AnRan-727 avatar AnRan-727 commented on May 20, 2024

可是现在我又有个问题了,我发消息通过curl发不了了 这是为什么呢 提示未授权 但是我用的token是正确的token呀 @Cassius0924

from wechatbot-webhook.

Cassius0924 avatar Cassius0924 commented on May 20, 2024

看看curl命令和报错👀

from wechatbot-webhook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.