router.js 380 Bytes
/**
 * 文章router
 * @author: leo <qi.li@yoho.cn>
 * @date: 23/06/2017
 */
const express = require('express');
const router = express.Router();  // eslint-disable-line
const user = require('./controllers/user');

router.get('/getLoginUrl', user.getLoginUrl);
router.post('/loginLog', user.loginLog);
router.post('/getUserBaseInfo', user.userBaseInfo);

module.exports = router;