router.js
328 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);
module.exports = router;