添加获取所有边缘节点接口;重构相关数据结构与服务逻辑
This commit is contained in:
@@ -47,6 +47,11 @@ components:
|
||||
- size
|
||||
- list
|
||||
|
||||
Edge:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
|
||||
tags:
|
||||
- name: Auth
|
||||
description: 认证授权相关接口
|
||||
@@ -410,4 +415,27 @@ paths:
|
||||
summary: 获取公告列表
|
||||
description: 获取系统公告列表
|
||||
|
||||
/api/edge/all:
|
||||
post:
|
||||
tags:
|
||||
- Edge
|
||||
summary: 获取所有边缘节点
|
||||
description: 获取所有可用的边缘节点列表
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
prov:
|
||||
type: string
|
||||
description: 省份
|
||||
city:
|
||||
type: string
|
||||
description: 城市
|
||||
isp:
|
||||
type: string
|
||||
description: 运营商
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user