feat: 更新用户类型逻辑,优化微信用户资料更新接口;移除不必要的安全配置,简化 API 文档

This commit is contained in:
2026-03-30 12:04:02 +08:00
parent 50c09d855b
commit 6f7efbc799
5 changed files with 63 additions and 54 deletions

View File

@@ -29,14 +29,7 @@ tags:
description: "面向 ManagePlatform 用户的文档新增、查询、修改、删除接口;查询时会自动返回关联附件的 PocketBase 文件流链接。"
- name: 文档历史
description: "面向 ManagePlatform 用户的文档操作历史查询接口。"
security:
- bearerAuth: []
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
schemas:
ApiResponse:
type: object
@@ -1325,7 +1318,6 @@ paths:
post:
tags: [字典管理]
summary: 查询字典列表
security: []
description: |
公开读接口,无需 token。
支持按 `dict_name` 模糊搜索,返回字典全量信息,并将三个聚合字段组装为 `items`。
@@ -1354,7 +1346,6 @@ paths:
post:
tags: [字典管理]
summary: 查询指定字典
security: []
description: |
公开读接口,无需 token。
按唯一键 `dict_name` 查询单条字典,并返回组装后的 `items`。