liuyu пре 5 година
родитељ
комит
3f0167c261
2 измењених фајлова са 1 додато и 2 уклоњено
  1. 0 1
      app/router.js
  2. 1 1
      config/config.default.js

+ 0 - 1
app/router.js

@@ -142,7 +142,6 @@ module.exports = app => {
 
   // 微信端访问地址
   router.get('/api/train/auth', controller.weixin.auth); // 微信登录
-  router.get('/api/train/authBack', controller.weixin.authBack); // 微信登录
   // 微信端访问地址
   router.get('/api/train/authtest', controller.weixin.authTest); // 微信登录测试
 

+ 1 - 1
config/config.default.js

@@ -44,7 +44,7 @@ module.exports = appInfo => {
   // 服务器发布路径
   config.baseUrl = 'http://free.liaoningdoupo.com';
   // 认证回调地址
-  config.authUrl = '/api/auth';
+  config.authUrl = '/api/train/auth';
   // 回调地址
   config.redirect_uri = `${config.baseUrl}/weixin`;
   config.redirect_uri_doctor = `${config.baseUrl}/patient/manage`;