http://cms.xlongwei.com/service/weixin/token.json
appid | 必填,例如:wx5bb3e90365f54b7a |
appsecret | 首次调用必填,后台会缓存此值,并且每两个小时自动更新access_token |
refresh | force强制重新获取,注意微信限制每天200次 auto使用自定义菜单接口是否已过期,若过期则自动更新 空值时每两小时自动更新,可能会失效。 |
access_token | access_token与appid自动关联,其他相关接口提供appid参数就够了 |
http://cms.xlongwei.com/service/weixin/menu.json
appid | appid与access_token相关联,二选一即可 |
token | access_token值 |
menu | 空时获取菜单,提供值时更新菜单 |
menu | 菜单json,可选 |
{ "button": [{ "name": "小程序", "pagepath": "pages/pdnovel/pdnovel", "appid": "wx81b89697ee035ba6", "type": "miniprogram", "url": "http://mp.weixin.qq.com" }, { "name": "更多功能", "sub_button": [{ "name": "帮助", "type": "click", "sub_button": [], "key": "help" }, { "name": "易源接口", "type": "view", "sub_button": [], "url": "http://.showapi.com" }] }] }
http://cms.xlongwei.com/service/weixin/user.json
appid | appid与access_token相关联,二选一即可 |
token | access_token值 |
openid | 可选,空值时获取用户openid列表,提供值时获取用户基础信息 |
next_openid | 可选,提供值时获取用户列表下一页 |
data | openid:[] |
count | 关注数 |
nickname | 用户昵称,查询用户基础信息时有值 |
http://cms.xlongwei.com/service/weixin/msg.json
xml | xml消息 |
json | json数据 |
xml | json转xml |
http://cms.xlongwei.com/service/weixin/encrypt.json
appid | 必填 |
token | 首次必填 |
encodingAesKey | 首次必填 |
timestamp | 必填,时间戳 |
nonce | 必填,随机串 |
replyMsg | 响应xml |
encrypt | 加密xml |
http://cms.xlongwei.com/service/weixin/decrypt.json
appid | 必填 |
token | 首次必填 |
encodingAesKey | 首次必填 |
timestamp | 必填,时间戳 |
nonce | 必填,随机串 |
msgSignature | 签名 |
fromXML | 加密消息 |
decrypt | 解密消息 |
https://api.xlongwei.com/service/weixin/chat
text | 问 |
text | 答 |
您好,我可以支持的服务有: 拼音 犇 查字 牛 牛 牛 翻译 剪刀 车次 成都东 重庆北 scissors pi*e^2 D365 510107 回复“help”显示此帮助菜单
https://api.xlongwei.com/service/weixin/notify
openid | 用户标识 | 关注测试号可获得 |
text | 通知内容 | 可选自定义通知内容 |
chat | 聊天内容 | 可选通知chat聊天响应内容 |