This commit is contained in:
2025-12-09 18:55:28 +08:00
parent 8d00d67540
commit c23ab8338b
209 changed files with 5445 additions and 3963 deletions

View File

@@ -25,7 +25,7 @@ type (
// API信息
AdminApiInfo {
Id int64 `json:"id"`
Id string `json:"id"`
ApiName string `json:"api_name"`
ApiCode string `json:"api_code"`
Method string `json:"method"`
@@ -38,7 +38,7 @@ type (
// API详情请求
AdminGetApiDetailReq {
Id int64 `path:"id"`
Id string `path:"id"`
}
// API详情响应
@@ -58,12 +58,12 @@ type (
// 创建API响应
AdminCreateApiResp {
Id int64 `json:"id"`
Id string `json:"id"`
}
// 更新API请求
AdminUpdateApiReq {
Id int64 `path:"id"`
Id string `path:"id"`
ApiName string `json:"api_name"`
ApiCode string `json:"api_code"`
Method string `json:"method"`
@@ -79,7 +79,7 @@ type (
// 删除API请求
AdminDeleteApiReq {
Id int64 `path:"id"`
Id string `path:"id"`
}
// 删除API响应
@@ -89,7 +89,7 @@ type (
// 批量更新API状态请求
AdminBatchUpdateApiStatusReq {
Ids []int64 `json:"ids"`
Ids []string `json:"ids"`
Status int64 `json:"status"`
}