|
|
@@ -251,8 +251,8 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/Account/TokenCheck": {
|
|
|
- "get": {
|
|
|
+ "/Account/SignCompleted": {
|
|
|
+ "post": {
|
|
|
"security": [
|
|
|
{
|
|
|
"ApiKeyAuth": []
|
|
|
@@ -267,10 +267,10 @@ const docTemplate = `{
|
|
|
"tags": [
|
|
|
"账户服务"
|
|
|
],
|
|
|
- "summary": "Token校验",
|
|
|
+ "summary": "提交实名认证",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
- "description": "操作成功",
|
|
|
+ "description": "出参",
|
|
|
"schema": {
|
|
|
"allOf": [
|
|
|
{
|
|
|
@@ -290,8 +290,8 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/MQ/SendMsgToMQ": {
|
|
|
- "post": {
|
|
|
+ "/Account/TokenCheck": {
|
|
|
+ "get": {
|
|
|
"security": [
|
|
|
{
|
|
|
"ApiKeyAuth": []
|
|
|
@@ -304,23 +304,12 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "总线业务"
|
|
|
- ],
|
|
|
- "summary": "总线业务",
|
|
|
- "parameters": [
|
|
|
- {
|
|
|
- "description": "入参",
|
|
|
- "name": "data",
|
|
|
- "in": "body",
|
|
|
- "required": true,
|
|
|
- "schema": {
|
|
|
- "$ref": "#/definitions/request.MQBodyReq"
|
|
|
- }
|
|
|
- }
|
|
|
+ "账户服务"
|
|
|
],
|
|
|
+ "summary": "Token校验",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
- "description": "出参",
|
|
|
+ "description": "操作成功",
|
|
|
"schema": {
|
|
|
"allOf": [
|
|
|
{
|
|
|
@@ -329,9 +318,6 @@ const docTemplate = `{
|
|
|
{
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "data": {
|
|
|
- "$ref": "#/definitions/response.MQBodyRsp"
|
|
|
- },
|
|
|
"msg": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
@@ -343,8 +329,13 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/MQ/SendNtfToMQ": {
|
|
|
+ "/MQ/SendMsgToMQ": {
|
|
|
"post": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
"consumes": [
|
|
|
"application/json"
|
|
|
],
|
|
|
@@ -354,7 +345,7 @@ const docTemplate = `{
|
|
|
"tags": [
|
|
|
"总线业务"
|
|
|
],
|
|
|
- "summary": "总线通知",
|
|
|
+ "summary": "总线业务",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"description": "入参",
|
|
|
@@ -362,7 +353,7 @@ const docTemplate = `{
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/request.MQNtfReq"
|
|
|
+ "$ref": "#/definitions/request.MQBodyReq"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
@@ -377,6 +368,9 @@ const docTemplate = `{
|
|
|
{
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/definitions/response.MQBodyRsp"
|
|
|
+ },
|
|
|
"msg": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
@@ -388,13 +382,8 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/Quote/QuoteSubscribe": {
|
|
|
+ "/MQ/SendNtfToMQ": {
|
|
|
"post": {
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "ApiKeyAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
"consumes": [
|
|
|
"application/json"
|
|
|
],
|
|
|
@@ -402,17 +391,17 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "实时行情"
|
|
|
+ "总线业务"
|
|
|
],
|
|
|
- "summary": "订阅商品实时行情请求",
|
|
|
+ "summary": "总线通知",
|
|
|
"parameters": [
|
|
|
{
|
|
|
- "description": "入参1",
|
|
|
+ "description": "入参",
|
|
|
"name": "data",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/request.QuoteSubscribeReq"
|
|
|
+ "$ref": "#/definitions/request.MQNtfReq"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
@@ -623,31 +612,6 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "request.QuoteGoods": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "exchangeId": {
|
|
|
- "description": "交易所代码,一般写死250",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "goodsCode": {
|
|
|
- "description": "商品代码,全大写",
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "request.QuoteSubscribeReq": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "quoteGoodses": {
|
|
|
- "description": "待订阅商品信息",
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/definitions/request.QuoteGoods"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
"response.LoginRsp": {
|
|
|
"type": "object",
|
|
|
"properties": {
|