فهرست منبع

添加登录路由

liuyu 5 سال پیش
والد
کامیت
61144c311d
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      app/router.js

+ 3 - 0
app/router.js

@@ -138,4 +138,7 @@ module.exports = app => {
 
   // 微信端访问地址
   router.get('/api/train/auth', controller.weixin.auth); // 微信登录
+
+  // pc端登录
+  router.post('/api/train/login', controller.login.login);// 登录
 };