[{"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\index.js":"1","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\App.js":"2","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\reportWebVitals.js":"3","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\Navbar\\navbar.jsx":"4","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\IndexApiList.jsx":"5","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\indexBasicInfo\\indexBasicInfo.jsx":"6","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\Overview\\overview.jsx":"7","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\StocksApiList.jsx":"8","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\StocksInfo\\stocksInfo.jsx":"9"},{"size":570,"mtime":1611496335173,"results":"10","hashOfConfig":"11"},{"size":238,"mtime":1611496335160,"results":"12","hashOfConfig":"11"},{"size":375,"mtime":1611496335174,"results":"13","hashOfConfig":"11"},{"size":5114,"mtime":1611905436805,"results":"14","hashOfConfig":"11"},{"size":14427,"mtime":1611732804984,"results":"15","hashOfConfig":"11"},{"size":2936,"mtime":1611905481533,"results":"16","hashOfConfig":"11"},{"size":5975,"mtime":1611905481530,"results":"17","hashOfConfig":"11"},{"size":24485,"mtime":1611732999888,"results":"18","hashOfConfig":"11"},{"size":2851,"mtime":1611897874072,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"c0lf79",{"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":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"33","messages":"34","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"35","usedDeprecatedRules":"22"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"40","usedDeprecatedRules":"22"},"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\index.js",[],["41","42"],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\App.js",[],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\reportWebVitals.js",[],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\Navbar\\navbar.jsx",[],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\IndexApiList.jsx",[],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\indexBasicInfo\\indexBasicInfo.jsx",["43","44"],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\Overview\\overview.jsx",["45","46","47"],"import React, { Component } from 'react';\r\nimport './overview.css'\r\nimport { Typography, Table, Button, Card } from \"antd\"\r\nconst { Text, Paragraph, Title, Link } = Typography;\r\n\r\nclass Overview extends Component {\r\n\r\n render() {\r\n return (\r\n
\r\n\r\n
总体说明 \r\n\r\n
接口请求方式采用get方式 \r\n
接口采用模拟HTTP协议及JSON接口模式 \r\n\r\n
校验方式说明:sign=md5(method=接口名称&time=时间戳) \r\n
http://boniu.xazhima.com/api/v1.0/api.php?sign=校验方式\"×tamp=\"时间戳\"&method=\"方法名\"&code=\"$code&\"start_date=\"开始日期\"&end_date=\"截止日期\"&order=\"排序; \r\n\r\n\r\n
输出结果: \r\n
\r\n\r\n
异常结果: \r\n
\r\n\r\n
\r\n \r\n {'\\u007B'} \r\n (信息码区) \r\n (输入参数呼应区) \r\n (结果返回) \r\n {'\\u007d'}\r\n
\r\n \r\n\r\n
输出结果规则总体说明: \r\n
1.所有交易日期格式均为8位整数,不传为当天数据 \r\n
2.5日线、10 日线、20日线、30日线、60日线、233线以及开盘价、收盘价、最高价、最低价等价格参数均与输入参数复权方式一致 \r\n
3.所有输出的价格,均按照四舍五入保留小数点后两位的格式输出 \r\n
4.价格计算方式:①涨跌额:当天收盘价-前一天收盘价。②涨跌幅:涨跌额÷前一天收盘价*100%。③涨停价:科创板、创业板股为前一天收盘价*120%,ST为前一天收盘价*105%,其他股为前一天收盘价*110%。④跌停价:科创板、创业板股为前一天收盘价*80%,ST为前一天收盘价*95%,其他股为前一天收盘价*90%。⑤是否涨跌停标志:涨跌停标志按照收盘价计算,如果当天收盘价等于涨停价,则为涨停,如果收盘价等于跌停价,则为跌停。如果没有涨/跌停,涨跌停标志输出0/-1。(新股发行前5天没有涨跌停价格) \r\n\r\n
\r\n )\r\n }\r\n\r\n\r\n\r\n}\r\n\r\nexport default Overview;\r\nconst columns = [\r\n {\r\n title: \"名称\",\r\n dataIndex: \"name\",\r\n key: \"name\",\r\n },\r\n {\r\n title: \"说明\",\r\n dataIndex: \"desc\",\r\n key: \"desc\",\r\n },\r\n];\r\nconst columnsData = [\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: \"data\",\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 },\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\nconst errColumnsData = [\r\n {\r\n key: \"1\",\r\n type: \"错误码300\",\r\n code: '300...',\r\n message: \"接口参数输入错误\",\r\n },\r\n {\r\n key: \"2\",\r\n type: \"错误码400\",\r\n code: '400...',\r\n message: \"对外输出错误\",\r\n },\r\n {\r\n key: \"3\",\r\n type: \"错误码500\",\r\n code: '500...',\r\n message: \"系统错误\",\r\n },\r\n {\r\n key: \"4\",\r\n type: \"例如:\",\r\n code: '',\r\n message: \"\",\r\n children: [\r\n {\r\n key: \"9\",\r\n type: \"股票代码错误\",\r\n code: '301',\r\n message: \" 股票/指数代码不存在/错误\",\r\n },\r\n {\r\n key: \"10\",\r\n type: \"交易板块错误\",\r\n code: '302',\r\n message: \"交易板块不存在/错误\",\r\n },\r\n {\r\n key: \"11\",\r\n type: \"所属市场错误\",\r\n code: '303',\r\n message: \"所属市场不存在/错误\",\r\n },\r\n {\r\n key: \"12\",\r\n type: \"签名错误\",\r\n code: '304',\r\n message: \"非法签名\",\r\n },\r\n {\r\n key: \"13\",\r\n type: \"返回数据为空\",\r\n code: '401',\r\n message: \" 股票/指数数据为空\",\r\n },\r\n {\r\n key: \"14\",\r\n type: \"服务器错误\",\r\n code: '501',\r\n message: \"服务器错误\",\r\n },\r\n ]\r\n }\r\n];\r\n","C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\StocksApiList.jsx",[],"C:\\Users\\LucaChen\\Desktop\\zhima\\boniuApi\\boniu\\src\\components\\StocksInfo\\stocksInfo.jsx",["48"],"import React from \"react\"\r\nimport \"./stocksInfo.css\"\r\nimport { Typography, Table, Button } from \"antd\"\r\n\r\nconst { Text, Title, Link } = Typography\r\n\r\nconst StocksInfo = (props) => {\r\n const outPutList = props.location.state.data.outputResult\r\n const errorList = props.location.state.data.errorResult\r\n const title = props.location.state.name\r\n const params = props.location.state.data.params\r\n const paramsInfo = props.location.state.data.paramsInfo\r\n const url = props.location.state.data.url\r\n const download = props.location.state.data.download\r\n\r\n const hasClass = () => {\r\n let flag = false\r\n outPutList.forEach(item => {\r\n if (item.children) {\r\n flag = true\r\n }\r\n })\r\n return flag\r\n }\r\n\r\n return (\r\n \r\n
{title} \r\n
\r\n
\r\n 输入参数:\r\n \r\n
\r\n { params }\r\n \r\n
\r\n {paramsInfo && '参数说明: '}\r\n {\r\n paramsInfo && paramsInfo.map((info,index) => {\r\n return (\r\n { info } \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 API测试工具 \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\nexport default StocksInfo\r\n\r\nconst columns = [\r\n {\r\n title: \"名称\",\r\n dataIndex: \"name\",\r\n key: \"name\",\r\n },\r\n {\r\n title: \"说明\",\r\n dataIndex: \"desc\",\r\n key: \"desc\",\r\n },\r\n]\r\nconst errColumns = [\r\n {\r\n title: \"错误类型\",\r\n dataIndex: \"type\",\r\n key: \"type\",\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",{"ruleId":"49","replacedBy":"50"},{"ruleId":"51","replacedBy":"52"},{"ruleId":"53","severity":1,"message":"54","line":16,"column":3,"nodeType":"55","messageId":"56","endLine":19,"endColumn":4},{"ruleId":"57","severity":1,"message":"58","line":69,"column":13,"nodeType":"59","endLine":69,"endColumn":46},{"ruleId":"60","severity":1,"message":"61","line":3,"column":29,"nodeType":"62","messageId":"63","endLine":3,"endColumn":35},{"ruleId":"60","severity":1,"message":"64","line":4,"column":15,"nodeType":"62","messageId":"63","endLine":4,"endColumn":24},{"ruleId":"60","severity":1,"message":"65","line":4,"column":33,"nodeType":"62","messageId":"63","endLine":4,"endColumn":37},{"ruleId":"57","severity":1,"message":"58","line":76,"column":11,"nodeType":"59","endLine":76,"endColumn":43},"no-native-reassign",["66"],"no-negated-in-lhs",["67"],"no-useless-constructor","Useless constructor.","MethodDefinition","noUselessConstructor","react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXOpeningElement","no-unused-vars","'Button' is defined but never used.","Identifier","unusedVar","'Paragraph' is assigned a value but never used.","'Link' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]