text: const Router = require("koa-router");
  const {
    login,
    success
  } = require("../controller/auth.controller");
  const {
    verifyLogin,
    verifyAuth
  } = require("../middleware/auth.middleware");
  
  // 用户登录接口
  const authRouter = new Router();
  
  authRouter.post("/login",verifyLogin,login);
  authRouter.get("/test",verifyAuth,success);
  
  module.exports = authRouter;