vault backup: 2025-07-11 18:41:34
This commit is contained in:
1 parent
02fc6456d9
commit
383dee9df7
2 files changed
+29
-5
No files matched your search
@@ -2,6 +2,8 @@
|
||||
- Github
|
||||
https://github.com/danni-cool/wechatbot-webhook
|
||||
|
||||
使用docker部署在108上,群晖NAS总是不能拉取镜像,跟fnOS-1设置同样的镜像源,搞不懂!
|
||||
|
||||
- docker compose.yml
|
||||
|
||||
```
|
||||
@@ -23,3 +25,25 @@ services:
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
- 调试教程
|
||||
https://blog.csdn.net/weixin_42398461/article/details/137611250
|
||||
|
||||
https://github.com/danni-cool/wechatbot-webhook
|
||||
作者讲得也很详细,只是我的2个微信刚扫码成功就被封了,15天后才解禁!
|
||||
|
||||
|
||||
发送消息:
|
||||
```
|
||||
curl --location 'http://localhost:3001/webhook/msg/v2?token=[YOUR_PERSONAL_TOKEN]' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"to": "testUser",
|
||||
"data": { "content": "你好👋" }
|
||||
}'
|
||||
|
||||
```
|
||||
- 请注意使用正确的 token
|
||||
真正的 token 是图1 中红线标注的部分(token是会变的),用真正的token代替“[YOUR_PERSONAL_TOKEN]”
|
||||
- testUser——目标微信用户
|
||||
请注意,此处的 testUser 是目标微信的`昵称`,不是目标微信的微信号
|
||||
这里有个问题:昵称是唯一的吗?否则相同昵称的人都会收到?
|
||||
Reference in new issue
Block a user