https://github.com/mc-zone/weixin-debug
微信公众平台调试工具 WeChat Debug Tool
https://github.com/mc-zone/weixin-debug
Last synced: about 1 year ago
JSON representation
微信公众平台调试工具 WeChat Debug Tool
- Host: GitHub
- URL: https://github.com/mc-zone/weixin-debug
- Owner: mc-zone
- License: mit
- Created: 2013-11-16T06:58:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-12-23T06:52:29.000Z (over 9 years ago)
- Last Synced: 2025-04-08T13:49:54.122Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://mc-zone.me/App/weixin-debug/
- Size: 223 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
微信公众平台调试工具
============
###WeChat MP Debug Tool###
##说明##
用于微信公众帐号外部接口(开发者模式)的功能及连通性测试。
制作初衷为方便看到接口脚本运行有错误时的报错和返回消息。
##流程##
根据消息类型,按照微信官方消息格式推送 XML 消息,处理返回信息并显示。
1. 填写接口 url 和 token
2. 选择消息类型,填写内容
3. 拼接微信官方 XML 消息格式
4. jQuery.Ajax + PHP 脚本(方便跨域)推送到接口,获得回复后返回
5. 前端根据返回消息情况进行处理
##流程图##

##注意##
项目模拟微信服务器中间转发的过程,只检查接口状态和返回格式的正确性,不能求证从接口到微信服务器的连通性。