lrf402788946 4 년 전
부모
커밋
75693aef29
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/router.js

+ 1 - 1
app/router.js

@@ -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); // 咨询服务