实现七月迭代公共技术基础
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 9m20s

This commit is contained in:
2026-07-23 17:52:48 +09:00
parent f7c42252c0
commit 17782d5f8e
76 changed files with 5246 additions and 158 deletions

View File

@@ -5406,9 +5406,18 @@ components:
download_url:
description: 下载链接(仅已完成任务返回)
type: string
error_code:
description: 安全错误码
type: string
error_message:
description: 错误信息
type: string
error_summary:
description: 安全失败摘要
type: string
failed_count:
description: 统一任务失败数
type: integer
failed_shards:
description: 失败分片数
type: integer
@@ -5442,18 +5451,32 @@ components:
status_name:
description: 任务状态名称(中文)
type: string
success_count:
description: 统一任务成功数
type: integer
success_shards:
description: 成功分片数
type: integer
task_id:
description: 任务ID
minimum: 0
type: integer
task_no:
description: 任务编号
type: string
total_count:
description: 统一任务总数
type: integer
total_rows:
description: 总行数
type: integer
total_shards:
description: 总分片数
type: integer
updated_at:
description: 更新时间
format: date-time
type: string
type: object
DtoExportTaskItem:
properties:
@@ -5486,9 +5509,18 @@ components:
creator_user_type:
description: 创建人用户类型 (2:平台, 3:代理, 4:企业)
type: integer
error_code:
description: 安全错误码
type: string
error_message:
description: 错误信息
type: string
error_summary:
description: 安全失败摘要
type: string
failed_count:
description: 统一任务失败数
type: integer
failed_shards:
description: 失败分片数
type: integer
@@ -5522,18 +5554,32 @@ components:
status_name:
description: 任务状态名称(中文)
type: string
success_count:
description: 统一任务成功数
type: integer
success_shards:
description: 成功分片数
type: integer
task_id:
description: 任务ID
minimum: 0
type: integer
task_no:
description: 任务编号
type: string
total_count:
description: 统一任务总数
type: integer
total_rows:
description: 总行数
type: integer
total_shards:
description: 总分片数
type: integer
updated_at:
description: 更新时间
format: date-time
type: string
type: object
DtoFailedDeviceItem:
properties:
@@ -8680,6 +8726,72 @@ components:
required:
- target_iccid
type: object
DtoSystemConfigItem:
properties:
config_key:
description: 稳定配置 Key
type: string
control:
description: 前端控件提示
type: string
description:
description: 中文说明
type: string
enum_values:
description: 允许的枚举值
items:
type: string
type: array
max:
description: 整数最大值
nullable: true
type: integer
min:
description: 整数最小值
nullable: true
type: integer
module:
description: 所属模块
type: string
readonly:
description: 是否只读
type: boolean
registered:
description: 是否已在代码注册
type: boolean
sensitive:
description: 是否敏感
type: boolean
updated_at:
description: 最近更新时间
format: date-time
nullable: true
type: string
value:
description: 配置值;敏感值按注册策略脱敏
type: string
value_type:
description: 值类型 (string:字符串, int:整数, bool:布尔, json:JSON)
type: string
type: object
DtoSystemConfigListResponse:
properties:
list:
description: 配置列表
items:
$ref: '#/components/schemas/DtoSystemConfigItem'
nullable: true
type: array
page:
description: 页码
type: integer
page_size:
description: 每页数量
type: integer
total:
description: 总数量
type: integer
type: object
DtoTriggerBatchReq:
properties:
card_ids:
@@ -9389,6 +9501,18 @@ components:
required:
- status
type: object
DtoUpdateSystemConfigParams:
properties:
key:
description: 稳定配置 Key
type: string
value:
description: 字符串化配置值
type: string
required:
- key
- value
type: object
DtoUpdateWechatConfigParams:
properties:
ali_app_id:
@@ -24676,6 +24800,157 @@ paths:
summary: 查询操作密码是否已设置
tags:
- 超级管理员
/api/admin/system-configs:
get:
parameters:
- description: 模块筛选
in: query
name: module
schema:
description: 模块筛选
type: string
- description: 页码
in: query
name: page
schema:
description: 页码
minimum: 1
type: integer
- description: 每页数量
in: query
name: page_size
schema:
description: 每页数量
maximum: 100
minimum: 1
type: integer
responses:
"200":
content:
application/json:
schema:
properties:
code:
description: 响应码
example: 0
type: integer
data:
$ref: '#/components/schemas/DtoSystemConfigListResponse'
msg:
description: 响应消息
example: success
type: string
timestamp:
description: 时间戳
format: date-time
type: string
required:
- code
- msg
- data
- timestamp
type: object
description: 成功
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 请求参数错误
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 未认证或认证已过期
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 无权访问
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 服务器内部错误
security:
- BearerAuth: []
summary: 查询受控系统配置
tags:
- 系统配置
/api/admin/system-configs/{key}:
put:
parameters:
- description: 稳定配置 Key
in: path
name: key
required: true
schema:
description: 稳定配置 Key
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DtoUpdateSystemConfigParams'
responses:
"200":
content:
application/json:
schema:
properties:
code:
description: 响应码
example: 0
type: integer
data:
$ref: '#/components/schemas/DtoSystemConfigItem'
msg:
description: 响应消息
example: success
type: string
timestamp:
description: 时间戳
format: date-time
type: string
required:
- code
- msg
- data
- timestamp
type: object
description: 成功
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 请求参数错误
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 未认证或认证已过期
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 无权访问
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 服务器内部错误
security:
- BearerAuth: []
summary: 更新受控系统配置
tags:
- 系统配置
/api/admin/wechat-configs:
get:
parameters: