feat: 🚀 基础API

This commit is contained in:
2025-05-22 13:44:13 +08:00
parent 44ef53d0ab
commit 10e1443e78
7 changed files with 137 additions and 165 deletions

View File

@@ -1,5 +1,5 @@
import {
// HTTPS_ERROR_PARAMS_COLUMNS,
HTTPS_ERROR_PARAMS_COLUMNS,
// HTTPS_PARAMS_COLUMNS,
HTTPS_URL_COLUMNS,
HTTPS_PUBLIC_PARAMS_COLUMNS
@@ -13,11 +13,11 @@ export const ZH_DATA = [
data: [
{
environment: "测试环境",
https: "https://demo.orico.com.cn"
https: "http://dev.ow.f2b211.com/admapi"
},
{
environment: "正式环境",
https: "https://.orico.com.cn"
https: "http://ow.f2b211.com/admapi"
}
]
},
@@ -26,71 +26,40 @@ export const ZH_DATA = [
columns: HTTPS_PUBLIC_PARAMS_COLUMNS, //列表配置项
data: [
{
parameterName: "111",
parameterType: "233",
isItMandatory: "123232",
parameterDescription: "3232323"
parameterName: "client_id",
parameterType: "string",
isItMandatory: "必需",
parameterDescription: ""
},
{
parameterName: "111",
parameterType: "233",
isItMandatory: "123232",
parameterDescription: "3232323"
parameterName: "client_secret",
parameterType: "string",
isItMandatory: "必需",
parameterDescription: ""
},
{
parameterName: "grant_type",
parameterType: "string",
isItMandatory: "必需",
parameterDescription: "client_credentials:获取tokenrefresh_token:刷新token"
},
{
parameterName: "refresh_token",
parameterType: "string",
isItMandatory: "非必需",
parameterDescription: "刷新token时必须"
}
]
},
{
title: "错误说明",
columns: HTTPS_ERROR_PARAMS_COLUMNS, //列表配置项
data: [
{
errorCode: "",
errorInfo: "",
TroMethods: ""
}
]
}
// {
// title: "请求参数说明",
// columns: HTTPS_PARAMS_COLUMNS, //列表配置项
// data: [
// {
// parameterName: "测试环境",
// parameterType: "https://demo.orico.com.cn",
// isItMandatory: "否",
// exampleValue: "多少",
// parameterDescription: "demo"
// },
// {
// parameterName: "测试环境",
// parameterType: "https://demo.orico.com.cn",
// isItMandatory: "是",
// exampleValue: "大萨达",
// parameterDescription: "demo1"
// }
// ]
// },
// {
// title: "返回参数说明",
// columns: HTTPS_RETURN_PARAMS_COLUMNS, //列表配置项
// data: [
// {
// parameterInterface: "1",
// parameterType: "2",
// exampleValue: "3",
// describe: "4"
// },
// {
// parameterInterface: "1",
// parameterType: "2",
// exampleValue: "3",
// describe: "4"
// }
// ]
// },
// {
// title: "错误说明",
// columns: HTTPS_ERROR_PARAMS_COLUMNS, //列表配置项
// data: [
// {
// errorCode: "111",
// errorInfo: "233",
// TroMethods: "123232"
// },
// {
// errorCode: "111",
// errorInfo: "233",
// TroMethods: "123232"
// }
// ]
// }
];