|
@@ -41,6 +41,7 @@ module.exports = app => {
|
|
router.resources('lookrecord', '/api/onlive/lookrecord', controller.lookrecord); // index、create、show、destroy
|
|
router.resources('lookrecord', '/api/onlive/lookrecord', controller.lookrecord); // index、create、show、destroy
|
|
router.post('lookrecord', '/api/onlive/lookrecord/update/:id', controller.lookrecord.update);
|
|
router.post('lookrecord', '/api/onlive/lookrecord/update/:id', controller.lookrecord.update);
|
|
|
|
|
|
|
|
+
|
|
// 用户登录
|
|
// 用户登录
|
|
router.post('/api/onlive/login', controller.login.login);
|
|
router.post('/api/onlive/login', controller.login.login);
|
|
// 根据token取得用户信息
|
|
// 根据token取得用户信息
|