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: "必需",
                exampleValue: "682c22b746aef",
                parameterDescription: ""
            },
            {
                parameterName: "client_secret",
                parameterType: "string",
                isItMandatory: "必需",
                exampleValue: "oibmLhFdEVWhX6lFSF4rWVXnATKI8Oml",
                parameterDescription: ""
            },
            {
                parameterName: "grant_type",
                parameterType: "string",
                isItMandatory: "必需",
                exampleValue: "client_credentials",
                parameterDescription: "client_credentials:获取token；refresh_token:刷新token"
            },
            {
                parameterName: "refresh_token",
                parameterType: "string",
                isItMandatory: "可选",
                exampleValue: "",
                parameterDescription: "刷新token时必须"
            }
        ]
    },
    {
        title: "错误说明",
        columns: HTTPS_ERROR_PARAMS_COLUMNS, //列表配置项
        data: [
            {
                errorCode: "",
                errorInfo: "",
                TroMethods: ""
            }
        ]
    }
];
