[{"D:\\wampServer\\www\\boniuApi\\boniu\\src\\index.js":"1","D:\\wampServer\\www\\boniuApi\\boniu\\src\\reportWebVitals.js":"2","D:\\wampServer\\www\\boniuApi\\boniu\\src\\App.js":"3","D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\Navbar\\navbar.jsx":"4","D:\\wampServer\\www\\boniuApi\\boniu\\src\\StocksApiList.jsx":"5","D:\\wampServer\\www\\boniuApi\\boniu\\src\\IndexApiList.jsx":"6","D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\Overview\\overview.jsx":"7","D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\StocksApi\\stocks.jsx":"8","D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\indexBasicInfo\\indexBasicInfo.jsx":"9"},{"size":552,"mtime":1611311898719,"results":"10","hashOfConfig":"11"},{"size":362,"mtime":499162500000,"results":"12","hashOfConfig":"11"},{"size":238,"mtime":1611540950308,"results":"13","hashOfConfig":"11"},{"size":3078,"mtime":1611567072773,"results":"14","hashOfConfig":"11"},{"size":733,"mtime":1611558530628,"results":"15","hashOfConfig":"11"},{"size":4137,"mtime":1611562437673,"results":"16","hashOfConfig":"11"},{"size":283,"mtime":1611566558761,"results":"17","hashOfConfig":"11"},{"size":2949,"mtime":1611540950318,"results":"18","hashOfConfig":"11"},{"size":3649,"mtime":1611558327133,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"kug5qb",{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"39","usedDeprecatedRules":"22"},"D:\\wampServer\\www\\boniuApi\\boniu\\src\\index.js",[],["40","41"],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\reportWebVitals.js",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\App.js",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\Navbar\\navbar.jsx",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\StocksApiList.jsx",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\IndexApiList.jsx",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\Overview\\overview.jsx",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\StocksApi\\stocks.jsx",[],"D:\\wampServer\\www\\boniuApi\\boniu\\src\\components\\indexBasicInfo\\indexBasicInfo.jsx",["42"],"import React from \"react\";\r\nimport \"./indexBasicInfo.css\";\r\nimport { Typography, Table, Button } from \"antd\";\r\n\r\nconst { Text, Title, Link } = Typography;\r\n\r\nclass indexBasicInfo extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n // this.title = title[props.location.pathname];\r\n }\r\n render() {\r\n console.log(this.props.location.state);\r\n const outPutList = this.props.location.state.outputResult;\r\n const errorList = this.props.location.state.errorResult;\r\n return (\r\n
\r\n {title[this.props.location.pathname]}\r\n
\r\n \r\n 输入参数:\r\n \r\n \r\n method=stock_info&code=股票代码×tamp=时间戳&sign=签名值\r\n \r\n
\r\n\r\n
\r\n \r\n 输出结果:\r\n \r\n \r\n
\r\n
\r\n \r\n 输出结果异常:\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n 测试地址:\r\n \r\n \r\n
\r\n
\r\n \r\n SDK包:\r\n \r\n php程序包下载\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default indexBasicInfo;\r\nvar title = {\r\n \"/indexBasicInfo\": \"指数基本信息\",\r\n \"/indexNow\": \"指数当天信息\",\r\n \"/indexBefore\": \"指数回溯\"\r\n};\r\nconst columns = [\r\n {\r\n title: \"名称\",\r\n dataIndex: \"name\",\r\n key: \"name\",\r\n render: (text) => {text}\r\n },\r\n {\r\n title: \"说明\",\r\n dataIndex: \"desc\",\r\n key: \"desc\"\r\n }\r\n];\r\n// var data = [\r\n// {\r\n// key: \"1\",\r\n// name: \"message_code\",\r\n// desc: 200\r\n// },\r\n// {\r\n// key: \"2\",\r\n// name: \"message\",\r\n// desc: \"success\"\r\n// },\r\n// {\r\n// key: \"3\",\r\n// name: \"code\",\r\n// desc: \"指数代码\"\r\n// },\r\n// {\r\n// key: \"4\",\r\n// name: \"name\",\r\n// desc: \"指数名称\"\r\n// },\r\n// {\r\n// key: \"5\",\r\n// name: \"sector\",\r\n// desc: \"交易板块\"\r\n// },\r\n// {\r\n// key: \"6\",\r\n// name: \"sector\",\r\n// desc: \"所属市场\"\r\n// }\r\n// ];\r\nconst errColumns = [\r\n {\r\n title: \"错误类型\",\r\n dataIndex: \"type\",\r\n key: \"type\",\r\n render: (text) => {text}\r\n },\r\n {\r\n title: \"message_code\",\r\n dataIndex: \"code\",\r\n key: \"code\"\r\n },\r\n {\r\n title: \"message\",\r\n dataIndex: \"message\",\r\n key: \"message\"\r\n }\r\n];\r\n// var errdata = [\r\n// {\r\n// key: \"1\",\r\n// type: \"股票代码错误\",\r\n// code: 301,\r\n// message: \"股票代码不存在/错误\"\r\n// },\r\n// {\r\n// key: \"3\",\r\n// type: \"签名错误\",\r\n// code: 304,\r\n// message: \"非法签名\"\r\n// },\r\n// {\r\n// key: \"4\",\r\n// type: \"返回数据为空\",\r\n// code: 401,\r\n// message: \"股票数据为空\"\r\n// },\r\n// {\r\n// key: \"5\",\r\n// type: \"服务器错误\",\r\n// code: 501,\r\n// message: \"服务器错误\"\r\n// }\r\n// ];\r\n",{"ruleId":"43","replacedBy":"44"},{"ruleId":"45","replacedBy":"46"},{"ruleId":"47","severity":1,"message":"48","line":8,"column":3,"nodeType":"49","messageId":"50","endLine":11,"endColumn":4},"no-native-reassign",["51"],"no-negated-in-lhs",["52"],"no-useless-constructor","Useless constructor.","MethodDefinition","noUselessConstructor","no-global-assign","no-unsafe-negation"]