italk
v0.0.4
Published
微信消息处理器 =======
Downloads
2
Readme
微信消息处理器
配合wechat使用.
支持的消息格式见这里
使用方法
const italk = require("italk");
const handler_path = "path/to/your/handlers";
const handler = italk(handler_path);
const express = require("express");
const router = express.Router();
const wechat = require("wechat");
const config = {
token: "",
appid: "",
encodingAESKey: ""
};
router.use(wechat(config, handler));