Files
orico-open-api/src/views/foundation/data/zh_data/index.ts
2025-05-22 13:44:13 +08:00

66 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import {
HTTPS_ERROR_PARAMS_COLUMNS,
// HTTPS_PARAMS_COLUMNS,
HTTPS_URL_COLUMNS,
HTTPS_PUBLIC_PARAMS_COLUMNS
//HTTPS_RETURN_PARAMS_COLUMNS
} from "../../constant/zh_list/index";
export const ZH_DATA = [
{
title: "请求地址",
columns: HTTPS_URL_COLUMNS, //列表配置项
data: [
{
environment: "测试环境",
https: "http://dev.ow.f2b211.com/admapi"
},
{
environment: "正式环境",
https: "http://ow.f2b211.com/admapi"
}
]
},
{
title: "公共请求参数",
columns: HTTPS_PUBLIC_PARAMS_COLUMNS, //列表配置项
data: [
{
parameterName: "client_id",
parameterType: "string",
isItMandatory: "必需",
parameterDescription: ""
},
{
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: ""
}
]
}
];