hpyer / node-easywechat

EasyWeChat for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.x 版本有直接发起请求的接口嘛?

ValueLan opened this issue · comments

微信第三方新增了备案需求,有没有直接发起请求的方法

我意思是可以新增个 全局的请求 以公众号为例子 这样新的改动就不需要再写了

let officialAccount= new OfficialAccount({})
officialAccount.post('https://weixin/...', {})
officialAccount.get('https://weixi',{})
commented

明白了,晚点加一下

commented

v2.13.0 版本已添加相关api,请看使用说明:https://github.com/hpyer/node-easywechat/tree/2.x#发起请求

非常感谢