-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# wework_url_callback | ||
# [wework_url_callback](https://github.com/kyeo-hub/wework_url_callback) | ||
用Python架设简单的企业微信API接收消息服务器,便于设置企业可信IP。 | ||
|
||
## 使用方法 | ||
|
||
### Docker | ||
``` | ||
docker run -d -p 5000:5000 -e QYWX_AESKEY=企业微信应用EncodingAESKey -e QYWX_TOKEN=企业微信应用Token kyeooeyk/wework_url_callback | ||
docker run -d --name wework_url_callback -p 5000:5000 -e QYWX_AESKEY=企业微信应用EncodingAESKey -e QYWX_TOKEN=企业微信应用Token kyeooeyk/wework_url_callback | ||
``` | ||
把上面命令中的**企业微信应用EncodingAESKey**和**企业微信应用Token**替换成你自己在企业微信应用API接收消息服务器配置里设置的。 | ||
把企业微信应用API接收消息服务器配置里的URL设置成你的**http://YOURIP:5000**,打开你服务器的5000端口。 | ||
把企业微信应用API接收消息服务器配置里的URL设置成你的**http://YOURIP:5000** ,打开你服务器的5000端口。 | ||
![测试样图](https://cdn.kyeo.top/notion/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17066775799008.png) | ||
|
||
### 本项目仅为了方便企业微信应用设置可信IP,请不要进行商用,任何商业行为与本项目无关 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
gunicorn | ||
gevent>=1.4 | ||
gevent | ||
flask | ||
pycrypto | ||
pybase64 |