|
|
@@ -10,8 +10,7 @@ class indexBasicInfo extends React.Component {
|
|
|
// this.title = title[props.location.pathname];
|
|
|
}
|
|
|
render() {
|
|
|
- const sdkurl = this.props.location.state.sdk_url;
|
|
|
- const apiurl = this.props.location.state.apiurl;
|
|
|
+ const apiUrl = this.props.location.state.apiurl;
|
|
|
const inputPara = this.props.location.state.inputpara.map((item, index) => {
|
|
|
return <Text key={index}>{item}</Text>;
|
|
|
});
|
|
|
@@ -56,7 +55,7 @@ class indexBasicInfo extends React.Component {
|
|
|
测试地址:
|
|
|
</Title>
|
|
|
<Button type="primary" className="stocks-button">
|
|
|
- <a href={apiurl} target="_blank">
|
|
|
+ <a href={apiUrl} target="_blank">
|
|
|
API测试工具
|
|
|
</a>
|
|
|
</Button>
|
|
|
@@ -65,7 +64,7 @@ class indexBasicInfo extends React.Component {
|
|
|
<Title className="stocks-title" level={5}>
|
|
|
SDK包:
|
|
|
</Title>
|
|
|
- <Link href={sdkurl}>php程序包下载</Link>
|
|
|
+ <Link href="http://boniu.xazhima.com/sdk/index_any_day.sdk">php程序包下载</Link>
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|