From 854330a4b4cdeb44ec0dbef3d65e643ca5f982c8 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 15 Apr 2026 12:22:55 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20OpenAPI=20?= =?UTF-8?q?=E6=96=87=E6=A1=A3=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=8D=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=A3=80=E6=9F=A5=E9=97=B4=E9=9A=94=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PollingConfig 请求/响应结构中添加 card_status_check_interval 字段说明 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- docs/admin-openapi.yaml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/admin-openapi.yaml b/docs/admin-openapi.yaml index fe86d19..5c7c414 100644 --- a/docs/admin-openapi.yaml +++ b/docs/admin-openapi.yaml @@ -2695,6 +2695,11 @@ components: card_condition: description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用) type: string + card_status_check_interval: + description: 卡状态检查间隔(秒),NULL表示不检查,最小30秒 + minimum: 30 + nullable: true + type: integer carddata_check_interval: description: 流量检查间隔(秒),NULL表示不检查,最小60秒 minimum: 60 @@ -2724,6 +2729,11 @@ components: maximum: 1000 minimum: 1 type: integer + protect_check_interval: + description: 保护期一致性检查间隔(秒),NULL表示不检查,最小30秒 + minimum: 30 + nullable: true + type: integer realname_check_interval: description: 实名检查间隔(秒),NULL表示不检查,最小30秒 minimum: 30 @@ -5499,6 +5509,10 @@ components: card_condition: description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用) type: string + card_status_check_interval: + description: 卡状态检查间隔(秒),NULL表示不检查 + nullable: true + type: integer carddata_check_interval: description: 流量检查间隔(秒),NULL表示不检查 nullable: true @@ -5528,6 +5542,10 @@ components: priority: description: 优先级(数字越小优先级越高) type: integer + protect_check_interval: + description: 保护期一致性检查间隔(秒),NULL表示不检查 + nullable: true + type: integer realname_check_interval: description: 实名检查间隔(秒),NULL表示不检查 nullable: true @@ -7286,6 +7304,11 @@ components: description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用) nullable: true type: string + card_status_check_interval: + description: 卡状态检查间隔(秒),NULL表示不检查,最小30秒 + minimum: 30 + nullable: true + type: integer carddata_check_interval: description: 流量检查间隔(秒),NULL表示不检查,最小60秒 minimum: 60 @@ -7318,6 +7341,11 @@ components: minimum: 1 nullable: true type: integer + protect_check_interval: + description: 保护期一致性检查间隔(秒),NULL表示不检查,最小30秒 + minimum: 30 + nullable: true + type: integer realname_check_interval: description: 实名检查间隔(秒),NULL表示不检查,最小30秒 minimum: 30 @@ -9577,7 +9605,7 @@ paths: - 资产管理 /api/admin/assets/{identifier}/realtime-status: get: - description: 读取 DB/Redis 中的持久化状态,不调网关。 + description: 查询资产实时状态。卡类型:读取 DB/Redis 持久化状态;设备类型:实时调用 Gateway sync-info 接口获取最新数据,Gateway 失败不阻断主流程(DeviceRealtime.gateway_msg 返回失败原因)。 parameters: - description: 资产标识符(ICCID 或 VirtualNo) in: path