mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-08 05:32:48 +08:00
feat(api): 新增分类查询接口(列表+详情,支持树形结构)
This commit is contained in:
@@ -15,7 +15,7 @@ ulthon_information/
|
||||
├── app/ # 应用核心(多应用模式)
|
||||
│ ├── admin/controller/ # 后台管理(15个控制器)
|
||||
│ ├── index/controller/ # 前台展示(5个控制器)
|
||||
│ ├── api/controller/ # API接口(微信/文件/验证码)
|
||||
│ ├── api/controller/ # API接口(文章/附件/分类/文件/验证码/密钥)
|
||||
│ ├── model/ # 全局模型(17个,非各应用内)
|
||||
│ ├── common/ # 跨应用共享层(tools/traits/model)
|
||||
│ └── middleware/ # 中间件(ConfigInit/AdminLog/PermissionRecord)
|
||||
@@ -56,7 +56,7 @@ ulthon_information/
|
||||
app\BaseController (abstract: validate/success/error/redirect)
|
||||
+-- admin\controller\Common (Session鉴权) -> 15个子控制器
|
||||
+-- index\controller\BaseController (域名跳转/HTTPS) -> Common -> 3个子控制器
|
||||
+-- api\controller\* (直接继承 BaseController) -> 3个控制器
|
||||
+-- api\controller\* (直接继承 BaseController, ApiKeyAuth中间件) -> 7个控制器(含分类查询)
|
||||
```
|
||||
|
||||
### 响应格式
|
||||
|
||||
Reference in New Issue
Block a user