import {
    HTTPS_ERROR_PARAMS_EN_COLUMNS,
    // HTTPS_PARAMS_EN_COLUMNS,
    HTTPS_URL_EN_COLUMNS,
    HTTPS_PUBLIC_PARAMS_EN_COLUMNS
    // HTTPS_RETURN_PARAMS_EN_COLUMNS
} from "../../constant/en_list/index";

export const EN_DATA = [
    {
        title: "Request URL",
        columns: HTTPS_URL_EN_COLUMNS, //列表配置项
        data: [
            {
                environment: "Test environment",
                https: "http://dev.ow.f2b211.com/admapi"
            },
            {
                environment: "Formal environment",
                https: "http://ow.f2b211.com/admapi"
            }
        ]
    },
    {
        title: "Common request parameters",
        columns: HTTPS_PUBLIC_PARAMS_EN_COLUMNS, //列表配置项
        data: [
            {
                parameterName: "client_id",
                parameterType: "string",
                isItMandatory: "yes",
                exampleValue: "682c22b746aef",
                parameterDescription: ""
            },
            {
                parameterName: "client_secret",
                parameterType: "string",
                isItMandatory: "yes",
                exampleValue: "oibmLhFdEVWhX6lFSF4rWVXnATKI8Oml",

                parameterDescription: ""
            },
            {
                parameterName: "grant_type",
                parameterType: "string",
                isItMandatory: "yes",
                exampleValue: "client_credentials",
                parameterDescription: "Client-side credentials: Get tokens; Refresh_token: Refresh token"
            },
            {
                parameterName: "refresh_token",
                parameterType: "string",
                isItMandatory: "no",
                exampleValue: "",
                parameterDescription: "When refreshing the token, it is necessary"
            }
        ]
    },
    {
        title: "Error declaration",
        columns: HTTPS_ERROR_PARAMS_EN_COLUMNS, //列表配置项
        data: [
            {
                errorCode: "",
                errorMessage: "	",
                TroMethods: ""
            }
            // {
            //     errorCode: "200",
            //     errorMessage: "请求成功	",
            //     TroMethods: "{"code": 0, "msg": "success", "data": ......}"
            // }
        ]
    }
];
