fary-wechat-safe-verify
v1.0.16
Published
> A very small fary/koa2 middleware to provide wachat basic business safe verify.
Downloads
6
Readme
fary-wechat-safe-verify
A very small fary/koa2 middleware to provide wachat basic business safe verify.
Note: this middleware only works directly in Node 7.6+(async/await), or you can use babel to transform the source code.
Install
npm i fary-wechat-safe-verify
Usage
const createApp = require('fary');
const wechatSafeVerify = require('fary-wechat-safe-verify');
createApp({
middlewares: [
wechatSafeVerify()
]
})
Or use with koa2 directly.
Then a request like /MP_verify_654321.txt
, will get response 654321
.