liuyu 4 年之前
父節點
當前提交
0f13911bc7
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/router.js
  2. 1 1
      config/config.default.js

+ 1 - 1
app/router.js

@@ -47,7 +47,7 @@ module.exports = app => {
   router.post('/api/onlive/register', controller.roomuser.register);
 
   // 微信端访问地址
-  router.get('/api/onlive/auth', controller.weixin.auth); // 微信登录
+  router.get('/api/onlive/wxchat', controller.weixin.auth); // 微信登录
   // 微信端访问地址
   router.get('/api/onlive/wxchattest', controller.weixin.authTest); // 微信登录测试
 };

+ 1 - 1
config/config.default.js

@@ -48,7 +48,7 @@ module.exports = appInfo => {
   // 服务器发布路径
   config.baseUrl = 'https://zb.liaoningdoupo.com';
   // 认证回调地址
-  config.authUrl = '/api/onlive/auth';
+  config.authUrl = '/api/onlive/wxchat';
 
   // 直播appid与key
   config.sdkappid = 1400380125;