feat(auth): 添加登录功能模块
- 引入新的登录中间件模块 - 在应用中间件链中注册登录处理器 - 修改前端登录接口调用路径 - 添加服务器选择下拉组件 - 实现服务器ID状态管理 - 更新登录表单数据绑定结构
This commit is contained in:
@@ -5,6 +5,7 @@ import koaStatic from 'koa-static';
|
||||
import registry from "./registry.js";
|
||||
import * as log4js from "../log4js.js";
|
||||
import auth from "./auth.js";
|
||||
import login from "./login.js";
|
||||
|
||||
const app = new Koa();
|
||||
const router = new Router();
|
||||
@@ -22,6 +23,7 @@ app.proxy = true;
|
||||
app.use(auth)
|
||||
app.use(router.routes());
|
||||
app.use(registry)
|
||||
app.use(login)
|
||||
app.use(router.allowedMethods());
|
||||
app.use(koaStatic('/www'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user