# x-admin-api_koa **Repository Path**: Vennasia/x-admin-api_koa ## Basic Information - **Project Name**: x-admin-api_koa - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-02-12 - **Last Updated**: 2024-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README + admin(cms端): cms端接口,除login、logout、captcha登录相关接口,需要登录才能访问 + adminAuth中间件 + front-interface: 前端非用户行为操作接口,无需任何权限,任何人任何端都可以访问的路由 + user: 需要用户权限才能访问的接口(除login、logout、captcha登录相关接口) + userAuth中间件 todo: + 路由文件作为控制器文件允许以下两种导出方式: ```shell script module.exports = router module.exports = { router ,somePublicMethod } ``` + 将路由文件中顶部一大坨提取到公共文件