import React from "react";
import "./indexBasicInfo.css";
import { Typography, Table, Button } from "antd";
const { Text, Title, Link } = Typography;
class indexBasicInfo extends React.Component {
constructor(props) {
super(props);
// this.title = title[props.location.pathname];
}
render() {
const apiUrl = this.props.location.state.apiurl;
const inputPara = this.props.location.state.inputpara.map((item, index) => {
return {item};
});
const outPutList = this.props.location.state.data.outputResult;
const errorList = this.props.location.state.data.errorResult;
const title = this.props.location.state.name;
return (
{title}
输入参数:
{inputPara}
SDK包:
php程序包下载
);
}
}
export default indexBasicInfo;
const columns = [
{
title: "名称",
dataIndex: "name",
key: "name",
render: (text) => {text}
},
{
title: "说明",
dataIndex: "desc",
key: "desc"
}
];
const errColumns = [
{
title: "错误类型",
dataIndex: "type",
key: "type",
render: (text) => {text}
},
{
title: "message_code",
dataIndex: "code",
key: "code"
},
{
title: "message",
dataIndex: "message",
key: "message"
}
];