Merge pull request #27 from Spongebob5/master

README.md
This commit is contained in:
Oceania 2018-10-24 06:13:59 -05:00 committed by GitHub
commit 6d8da2ae5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ grammar_cjkRuby: true
加载的项目为botsharp-channel-weixin和botsharp-dialogflow两个项目。
项目botsharp-channel-weixin为腾讯微信BotSharp的通道模块,加载此项目可以省去编写微信通道模块的过程,当然也可以根据自己的需求去编写微信的通道模块。
项目文件botsharp-channel-weixin下载地址(https://github.com/Oceania2018/botsharp-channel-weixin)将botsharp-channel-weixin和botsharp-dialogflow项目放置到BotSharp同级的目录下。并加载到BotSharp中。
![](./集成微信公众号图片/图片1.png)
@ -32,7 +33,8 @@ grammar_cjkRuby: true
![](./集成微信公众号图片/BotSharp运行结果.png)
运行成功后,打开网址为(http://localhost:3112/index.html)的网页,此网页所显示的为BotSharp的接口列表。
运行成功后,打开网址为(http://localhost:3112/index.html) 的网页,此网页所显示的为BotSharp的接口列表。
![](./集成微信公众号图片/3112.png)
@ -55,12 +57,13 @@ grammar_cjkRuby: true
![](./集成微信公众号图片/ngrok黑窗体.png)
其中http://sss.ngrok.xiaomiqiu.cn即为映射的外网IP。
其中http://sss.ngrok.xiaomiqiu.cn 即为映射的外网IP。
**2)填写接口配置信息**
url填写: http://外网IP/wx
Token:自主设置,这个token与公众平台wiki中常提的access_token不是一回事,这个token只用于验证开发者服务器。
Token:自主设置,这个token与公众平台wiki中常提的access_token不是一回事。这个token只用于验证开发者服务器。
![](./集成微信公众号图片/配置接口url.png)