const Router = require('koa-router')
const AuthController = require('../controller/auth');
const router = new Router({prefix: '/api'});

module.exports = () => {
  router.get('/receiveIDToken', AuthController.processIDToken);
  router.get('/authenticate', AuthController.authenticate)

    //用户信息
    //.post('/user/get', UserController.get); // 获取用户信息
  return router;
};
