|
|
@@ -44,9 +44,9 @@ const indexApiList = [
|
|
|
errorResult: [
|
|
|
{
|
|
|
key: "1",
|
|
|
- type: "股票代码错误",
|
|
|
+ type: "指数代码错误",
|
|
|
code: 301,
|
|
|
- message: "股票代码不存在/错误"
|
|
|
+ message: "指数代码不存在/错误"
|
|
|
},
|
|
|
{
|
|
|
key: "3",
|
|
|
@@ -55,10 +55,46 @@ const indexApiList = [
|
|
|
message: "非法签名"
|
|
|
},
|
|
|
{
|
|
|
+ key: "13",
|
|
|
+ type: "时间/时间段输入错误",
|
|
|
+ code: "305",
|
|
|
+ message: "时间/时间段错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "14",
|
|
|
+ type: "复权码输入错误",
|
|
|
+ code: "306",
|
|
|
+ message: "复权码错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "15",
|
|
|
+ type: "code未输入,参数为空",
|
|
|
+ code: "307",
|
|
|
+ message: "code参数不能为空"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "16",
|
|
|
+ type: "方法名输入错误",
|
|
|
+ code: "308",
|
|
|
+ message: "方法名错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "17",
|
|
|
+ type: "order输入错误",
|
|
|
+ code: "309",
|
|
|
+ message: "order参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "18",
|
|
|
+ type: "traceback_days输入有误",
|
|
|
+ code: "310",
|
|
|
+ message: "traceback_days参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "4",
|
|
|
type: "返回数据为空",
|
|
|
code: 401,
|
|
|
- message: "股票数据为空"
|
|
|
+ message: "指数数据为空"
|
|
|
},
|
|
|
{
|
|
|
key: "5",
|
|
|
@@ -150,9 +186,9 @@ const indexApiList = [
|
|
|
errorResult: [
|
|
|
{
|
|
|
key: "1",
|
|
|
- type: "股票代码错误",
|
|
|
+ type: "指数代码错误",
|
|
|
code: 301,
|
|
|
- message: "股票代码不存在/错误"
|
|
|
+ message: "指数代码不存在/错误"
|
|
|
},
|
|
|
{
|
|
|
key: "3",
|
|
|
@@ -161,10 +197,46 @@ const indexApiList = [
|
|
|
message: "非法签名"
|
|
|
},
|
|
|
{
|
|
|
+ key: "13",
|
|
|
+ type: "时间/时间段输入错误",
|
|
|
+ code: "305",
|
|
|
+ message: "时间/时间段错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "14",
|
|
|
+ type: "复权码输入错误",
|
|
|
+ code: "306",
|
|
|
+ message: "复权码错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "15",
|
|
|
+ type: "code未输入,参数为空",
|
|
|
+ code: "307",
|
|
|
+ message: "code参数不能为空"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "16",
|
|
|
+ type: "方法名输入错误",
|
|
|
+ code: "308",
|
|
|
+ message: "方法名错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "17",
|
|
|
+ type: "order输入错误",
|
|
|
+ code: "309",
|
|
|
+ message: "order参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "18",
|
|
|
+ type: "traceback_days输入有误",
|
|
|
+ code: "310",
|
|
|
+ message: "traceback_days参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "4",
|
|
|
type: "返回数据为空",
|
|
|
code: 401,
|
|
|
- message: "股票数据为空"
|
|
|
+ message: "指数数据为空"
|
|
|
},
|
|
|
{
|
|
|
key: "5",
|
|
|
@@ -283,9 +355,9 @@ const indexApiList = [
|
|
|
errorResult: [
|
|
|
{
|
|
|
key: "1",
|
|
|
- type: "股票代码错误",
|
|
|
+ type: "指数代码错误",
|
|
|
code: 301,
|
|
|
- message: "股票代码不存在/错误"
|
|
|
+ message: "指数代码不存在/错误"
|
|
|
},
|
|
|
{
|
|
|
key: "3",
|
|
|
@@ -294,10 +366,46 @@ const indexApiList = [
|
|
|
message: "非法签名"
|
|
|
},
|
|
|
{
|
|
|
+ key: "13",
|
|
|
+ type: "时间/时间段输入错误",
|
|
|
+ code: "305",
|
|
|
+ message: "时间/时间段错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "14",
|
|
|
+ type: "复权码输入错误",
|
|
|
+ code: "306",
|
|
|
+ message: "复权码错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "15",
|
|
|
+ type: "code未输入,参数为空",
|
|
|
+ code: "307",
|
|
|
+ message: "code参数不能为空"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "16",
|
|
|
+ type: "方法名输入错误",
|
|
|
+ code: "308",
|
|
|
+ message: "方法名错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "17",
|
|
|
+ type: "order输入错误",
|
|
|
+ code: "309",
|
|
|
+ message: "order参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "18",
|
|
|
+ type: "traceback_days输入有误",
|
|
|
+ code: "310",
|
|
|
+ message: "traceback_days参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "4",
|
|
|
type: "返回数据为空",
|
|
|
code: 401,
|
|
|
- message: "股票数据为空"
|
|
|
+ message: "指数数据为空"
|
|
|
},
|
|
|
{
|
|
|
key: "5",
|
|
|
@@ -417,9 +525,9 @@ const indexApiList = [
|
|
|
errorResult: [
|
|
|
{
|
|
|
key: "1",
|
|
|
- type: "股票代码错误",
|
|
|
+ type: "指数代码错误",
|
|
|
code: 301,
|
|
|
- message: "股票代码不存在/错误"
|
|
|
+ message: "指数代码不存在/错误"
|
|
|
},
|
|
|
{
|
|
|
key: "3",
|
|
|
@@ -428,10 +536,46 @@ const indexApiList = [
|
|
|
message: "非法签名"
|
|
|
},
|
|
|
{
|
|
|
+ key: "13",
|
|
|
+ type: "时间/时间段输入错误",
|
|
|
+ code: "305",
|
|
|
+ message: "时间/时间段错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "14",
|
|
|
+ type: "复权码输入错误",
|
|
|
+ code: "306",
|
|
|
+ message: "复权码错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "15",
|
|
|
+ type: "code未输入,参数为空",
|
|
|
+ code: "307",
|
|
|
+ message: "code参数不能为空"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "16",
|
|
|
+ type: "方法名输入错误",
|
|
|
+ code: "308",
|
|
|
+ message: "方法名错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "17",
|
|
|
+ type: "order输入错误",
|
|
|
+ code: "309",
|
|
|
+ message: "order参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "18",
|
|
|
+ type: "traceback_days输入有误",
|
|
|
+ code: "310",
|
|
|
+ message: "traceback_days参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "4",
|
|
|
type: "返回数据为空",
|
|
|
code: 401,
|
|
|
- message: "股票数据为空"
|
|
|
+ message: "指数数据为空"
|
|
|
},
|
|
|
{
|
|
|
key: "5",
|
|
|
@@ -534,6 +678,42 @@ const indexApiList = [
|
|
|
message: "指数数据为空"
|
|
|
},
|
|
|
{
|
|
|
+ key: "13",
|
|
|
+ type: "时间/时间段输入错误",
|
|
|
+ code: "305",
|
|
|
+ message: "时间/时间段错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "14",
|
|
|
+ type: "复权码输入错误",
|
|
|
+ code: "306",
|
|
|
+ message: "复权码错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "15",
|
|
|
+ type: "code未输入,参数为空",
|
|
|
+ code: "307",
|
|
|
+ message: "code参数不能为空"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "16",
|
|
|
+ type: "方法名输入错误",
|
|
|
+ code: "308",
|
|
|
+ message: "方法名错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "17",
|
|
|
+ type: "order输入错误",
|
|
|
+ code: "309",
|
|
|
+ message: "order参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "18",
|
|
|
+ type: "traceback_days输入有误",
|
|
|
+ code: "310",
|
|
|
+ message: "traceback_days参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "3",
|
|
|
type: "签名错误",
|
|
|
code: 401,
|
|
|
@@ -606,6 +786,42 @@ const indexApiList = [
|
|
|
message: "所属市场不存在/错误"
|
|
|
},
|
|
|
{
|
|
|
+ key: "13",
|
|
|
+ type: "时间/时间段输入错误",
|
|
|
+ code: "305",
|
|
|
+ message: "时间/时间段错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "14",
|
|
|
+ type: "复权码输入错误",
|
|
|
+ code: "306",
|
|
|
+ message: "复权码错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "15",
|
|
|
+ type: "code未输入,参数为空",
|
|
|
+ code: "307",
|
|
|
+ message: "code参数不能为空"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "16",
|
|
|
+ type: "方法名输入错误",
|
|
|
+ code: "308",
|
|
|
+ message: "方法名错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "17",
|
|
|
+ type: "order输入错误",
|
|
|
+ code: "309",
|
|
|
+ message: "order参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "18",
|
|
|
+ type: "traceback_days输入有误",
|
|
|
+ code: "310",
|
|
|
+ message: "traceback_days参数错误"
|
|
|
+ },
|
|
|
+ {
|
|
|
key: "3",
|
|
|
type: "签名错误",
|
|
|
code: 401,
|