|
@@ -12,7 +12,7 @@ module.exports = app => {
|
|
|
router.get(`${profix}auth`, controller.weixin.auth);
|
|
|
router.get(`${profix}authBack`, controller.weixin.authBack);
|
|
|
router.get(`${profix}wxUser`, controller.weixin.wxUser);
|
|
|
- router.get(`${profix}jsapi`, controller.weixin.jsapiAuth);
|
|
|
+ router.post(`${profix}jsapi`, controller.weixin.jsapiAuth);
|
|
|
require('./router/refute')(app); // 文章/辟谣
|
|
|
require('./router/topic')(app); // 社区话题
|
|
|
require('./router/service')(app); // 咨询服务
|