|
|
@@ -17082,7 +17082,7 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/SZDZ/QueryConvertConfig": {
|
|
|
+ "/Report/QueryReportBankAccountOutInLog": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
@@ -17093,26 +17093,41 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "定制【尚志大宗】"
|
|
|
+ "报表"
|
|
|
],
|
|
|
- "summary": "查询交易系统转换设置",
|
|
|
+ "summary": "报表 - 交易商结算单 - 出入金明细",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "integer",
|
|
|
- "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
|
|
|
- "name": "convertType",
|
|
|
- "in": "query"
|
|
|
+ "description": "资金账户",
|
|
|
+ "name": "accountid",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "外部商品代码[JD\\PD]",
|
|
|
- "name": "outerGoodsCode",
|
|
|
+ "description": "查询日期 日报表-yyyyMMdd 月报表-yyyyMM",
|
|
|
+ "name": "tradedate",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "报表类型 日报表-1 月报表-2",
|
|
|
+ "name": "reporttype",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "页码",
|
|
|
+ "name": "page",
|
|
|
"in": "query"
|
|
|
},
|
|
|
{
|
|
|
- "type": "string",
|
|
|
- "description": "内部商品ID列表[交易],格式:1,2,3",
|
|
|
- "name": "innerGoodsIDs",
|
|
|
+ "type": "integer",
|
|
|
+ "description": "每页条数",
|
|
|
+ "name": "pagesize",
|
|
|
"in": "query"
|
|
|
}
|
|
|
],
|
|
|
@@ -17120,7 +17135,10 @@ const docTemplate = `{
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/models.Szdz3convertconfig"
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.ReportBankAccountOutInLog"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17132,7 +17150,7 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/SZDZ/QueryConvertLog": {
|
|
|
+ "/Report/QueryReportMonthTaaccount": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
@@ -17143,35 +17161,33 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "定制【尚志大宗】"
|
|
|
+ "报表"
|
|
|
],
|
|
|
- "summary": "交易系统转换流水查询",
|
|
|
+ "summary": "报表 - 交易商结算单 - 资金信息(月)",
|
|
|
"parameters": [
|
|
|
{
|
|
|
- "type": "string",
|
|
|
- "description": "资金账户 - 格式:1,2,3",
|
|
|
- "name": "accountID",
|
|
|
+ "type": "integer",
|
|
|
+ "description": "资金账户",
|
|
|
+ "name": "accountid",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
|
|
|
- "name": "startDate",
|
|
|
- "in": "query"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "string",
|
|
|
- "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
|
|
|
- "name": "endDate",
|
|
|
- "in": "query"
|
|
|
+ "description": "月份(yyyyMM)",
|
|
|
+ "name": "reckondate",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/szdz.QueryConvertLogRsp"
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.Reporttaaccount"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17183,7 +17199,7 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/SZDZ/QueryGoodsPickup": {
|
|
|
+ "/Report/QueryReportReckonDayPosition": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
@@ -17194,21 +17210,41 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "定制【尚志大宗】"
|
|
|
+ "报表"
|
|
|
],
|
|
|
- "summary": "商品提货单查询",
|
|
|
+ "summary": "报表 - 交易商结算单 - 持仓汇总",
|
|
|
"parameters": [
|
|
|
{
|
|
|
+ "type": "integer",
|
|
|
+ "description": "资金账户",
|
|
|
+ "name": "accountid",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
"type": "string",
|
|
|
- "description": "资金账户 - 格式:1,2,3",
|
|
|
- "name": "accountID",
|
|
|
+ "description": "查询日期 日报表-yyyyMMdd 月报表-yyyyMM",
|
|
|
+ "name": "tradedate",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "integer",
|
|
|
- "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
|
|
|
- "name": "takeOrderStatus",
|
|
|
+ "description": "报表类型 日报表-1 月报表-2",
|
|
|
+ "name": "reporttype",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "页码",
|
|
|
+ "name": "page",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "每页条数",
|
|
|
+ "name": "pagesize",
|
|
|
"in": "query"
|
|
|
}
|
|
|
],
|
|
|
@@ -17216,7 +17252,10 @@ const docTemplate = `{
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.ReportReckonDayPosition"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17228,57 +17267,32 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/SZDZ/QueryRecieptOrder": {
|
|
|
+ "/Report/QueryReportReckonDayTaaccount": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
"ApiKeyAuth": []
|
|
|
}
|
|
|
],
|
|
|
- "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
|
|
|
"produces": [
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "定制【尚志大宗】"
|
|
|
+ "报表"
|
|
|
],
|
|
|
- "summary": "点选挂牌委托单据查询(摘牌大厅)",
|
|
|
+ "summary": "报表 - 交易商结算单 - 资金信息(日)",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "integer",
|
|
|
- "description": "页码",
|
|
|
- "name": "page",
|
|
|
- "in": "query"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "integer",
|
|
|
- "description": "每页条数",
|
|
|
- "name": "pagesize",
|
|
|
- "in": "query"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "integer",
|
|
|
- "description": "商品ID",
|
|
|
- "name": "goodsID",
|
|
|
+ "description": "资金账户",
|
|
|
+ "name": "accountid",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "所属账户名称",
|
|
|
- "name": "accountName",
|
|
|
- "in": "query"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "integer",
|
|
|
- "description": "市场ID",
|
|
|
- "name": "marketID",
|
|
|
- "in": "query"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "integer",
|
|
|
- "description": "方向 - 0:买 1:卖",
|
|
|
- "name": "buyorsell",
|
|
|
+ "description": "日照日期(yyyyMMdd)",
|
|
|
+ "name": "reckondate",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
}
|
|
|
@@ -17287,7 +17301,10 @@ const docTemplate = `{
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.ReportReckondaytaaccount"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17299,7 +17316,7 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/SZDZ/QuerySZDZTradePosition": {
|
|
|
+ "/Report/QueryReportTradeDetail": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
@@ -17310,23 +17327,52 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "定制【尚志大宗】"
|
|
|
+ "报表"
|
|
|
],
|
|
|
- "summary": "持仓汇总查询(尚志大宗)",
|
|
|
+ "summary": "报表 - 交易商结算单 - 成交明细",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "integer",
|
|
|
"description": "资金账户",
|
|
|
- "name": "accountID",
|
|
|
+ "name": "accountid",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "查询日期 日报表-yyyyMMdd 月报表-yyyyMM",
|
|
|
+ "name": "histradedate",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "报表类型 日报表-1 月报表-2",
|
|
|
+ "name": "reporttype",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "页码",
|
|
|
+ "name": "page",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "每页条数",
|
|
|
+ "name": "pagesize",
|
|
|
+ "in": "query"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.ReportTradeDetail"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17338,7 +17384,7 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/SZDZ/SearchWhite": {
|
|
|
+ "/SZDZ/QueryConvertConfig": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
@@ -17351,21 +17397,32 @@ const docTemplate = `{
|
|
|
"tags": [
|
|
|
"定制【尚志大宗】"
|
|
|
],
|
|
|
- "summary": "搜索白名单",
|
|
|
+ "summary": "查询交易系统转换设置",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "integer",
|
|
|
- "description": "用户ID",
|
|
|
- "name": "userID",
|
|
|
- "in": "query",
|
|
|
- "required": true
|
|
|
+ "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
|
|
|
+ "name": "convertType",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "外部商品代码[JD\\PD]",
|
|
|
+ "name": "outerGoodsCode",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "内部商品ID列表[交易],格式:1,2,3",
|
|
|
+ "name": "innerGoodsIDs",
|
|
|
+ "in": "query"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/models.Szdz3searchwhitelist"
|
|
|
+ "$ref": "#/definitions/models.Szdz3convertconfig"
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17377,28 +17434,38 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/Search/SearchGoodses": {
|
|
|
+ "/SZDZ/QueryConvertLog": {
|
|
|
"get": {
|
|
|
- "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
"produces": [
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "检索服务"
|
|
|
+ "定制【尚志大宗】"
|
|
|
],
|
|
|
- "summary": "检索商品信息",
|
|
|
+ "summary": "交易系统转换流水查询",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "检索内容",
|
|
|
- "name": "content",
|
|
|
+ "description": "资金账户 - 格式:1,2,3",
|
|
|
+ "name": "accountID",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "交易模式,格式:1,2,3",
|
|
|
- "name": "tradeModes",
|
|
|
+ "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
|
|
|
+ "name": "startDate",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
|
|
|
+ "name": "endDate",
|
|
|
"in": "query"
|
|
|
}
|
|
|
],
|
|
|
@@ -17406,7 +17473,7 @@ const docTemplate = `{
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/models.SearchGoods"
|
|
|
+ "$ref": "#/definitions/szdz.QueryConvertLogRsp"
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17418,7 +17485,7 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/TaAccount/GetTaAccounts": {
|
|
|
+ "/SZDZ/QueryGoodsPickup": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
@@ -17429,21 +17496,21 @@ const docTemplate = `{
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "资金账户"
|
|
|
+ "定制【尚志大宗】"
|
|
|
],
|
|
|
- "summary": "获取资金账户信息",
|
|
|
+ "summary": "商品提货单查询",
|
|
|
"parameters": [
|
|
|
{
|
|
|
- "type": "integer",
|
|
|
- "description": "登录账户",
|
|
|
- "name": "loginID",
|
|
|
+ "type": "string",
|
|
|
+ "description": "资金账户 - 格式:1,2,3",
|
|
|
+ "name": "accountID",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "integer",
|
|
|
- "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
|
|
|
- "name": "taAccountType",
|
|
|
+ "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
|
|
|
+ "name": "takeOrderStatus",
|
|
|
"in": "query"
|
|
|
}
|
|
|
],
|
|
|
@@ -17451,7 +17518,7 @@ const docTemplate = `{
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/models.Taaccount"
|
|
|
+ "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -17463,20 +17530,21 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "/TaAccount/QueryAmountLog": {
|
|
|
+ "/SZDZ/QueryRecieptOrder": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
{
|
|
|
"ApiKeyAuth": []
|
|
|
}
|
|
|
],
|
|
|
+ "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
|
|
|
"produces": [
|
|
|
"application/json"
|
|
|
],
|
|
|
"tags": [
|
|
|
- "资金账户"
|
|
|
+ "定制【尚志大宗】"
|
|
|
],
|
|
|
- "summary": "资金流水查询(当前)",
|
|
|
+ "summary": "点选挂牌委托单据查询(摘牌大厅)",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"type": "integer",
|
|
|
@@ -17492,26 +17560,260 @@ const docTemplate = `{
|
|
|
},
|
|
|
{
|
|
|
"type": "integer",
|
|
|
- "description": "分页标志 0-page从0开始 1-page从1开始",
|
|
|
- "name": "pageflag",
|
|
|
- "in": "query"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "string",
|
|
|
- "description": "资金账户 - 格式:1,2,3",
|
|
|
- "name": "accountID",
|
|
|
+ "description": "商品ID",
|
|
|
+ "name": "goodsID",
|
|
|
"in": "query",
|
|
|
"required": true
|
|
|
},
|
|
|
{
|
|
|
"type": "string",
|
|
|
- "description": "资金操作类型 - 格式:1,2,3",
|
|
|
- "name": "OperateType",
|
|
|
+ "description": "所属账户名称",
|
|
|
+ "name": "accountName",
|
|
|
"in": "query"
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "市场ID",
|
|
|
+ "name": "marketID",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "方向 - 0:买 1:卖",
|
|
|
+ "name": "buyorsell",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/SZDZ/QuerySZDZTradePosition": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "定制【尚志大宗】"
|
|
|
+ ],
|
|
|
+ "summary": "持仓汇总查询(尚志大宗)",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "资金账户",
|
|
|
+ "name": "accountID",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/SZDZ/SearchWhite": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "定制【尚志大宗】"
|
|
|
+ ],
|
|
|
+ "summary": "搜索白名单",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "用户ID",
|
|
|
+ "name": "userID",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/models.Szdz3searchwhitelist"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/Search/SearchGoodses": {
|
|
|
+ "get": {
|
|
|
+ "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "检索服务"
|
|
|
+ ],
|
|
|
+ "summary": "检索商品信息",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "检索内容",
|
|
|
+ "name": "content",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "交易模式,格式:1,2,3",
|
|
|
+ "name": "tradeModes",
|
|
|
+ "in": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/models.SearchGoods"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/TaAccount/GetTaAccounts": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "资金账户"
|
|
|
+ ],
|
|
|
+ "summary": "获取资金账户信息",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "登录账户",
|
|
|
+ "name": "loginID",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
|
|
|
+ "name": "taAccountType",
|
|
|
+ "in": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/models.Taaccount"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/TaAccount/QueryAmountLog": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "资金账户"
|
|
|
+ ],
|
|
|
+ "summary": "资金流水查询(当前)",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "页码",
|
|
|
+ "name": "page",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "每页条数",
|
|
|
+ "name": "pagesize",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "分页标志 0-page从0开始 1-page从1开始",
|
|
|
+ "name": "pageflag",
|
|
|
+ "in": "query"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "资金账户 - 格式:1,2,3",
|
|
|
+ "name": "accountID",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "资金操作类型 - 格式:1,2,3",
|
|
|
+ "name": "OperateType",
|
|
|
+ "in": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/taaccount.QueryAmountLogRsp"
|
|
|
@@ -48893,6 +49195,789 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.ReportBankAccountOutInLog": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "accountId",
|
|
|
+ "reportType",
|
|
|
+ "tradedate"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "accountId": {
|
|
|
+ "description": "资金账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "amount": {
|
|
|
+ "description": "金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "applystatusdisplay": {
|
|
|
+ "description": "申请状态",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "executetypedisplay": {
|
|
|
+ "description": "申请类型",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "reportType": {
|
|
|
+ "description": "报表类型 日报表-1 月报表-2",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "tradedate": {
|
|
|
+ "description": "查询日期 日报表-yyyyMMdd 月报表-yyyyMM",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "updatetime": {
|
|
|
+ "description": "更新时间",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.ReportReckonDayPosition": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "accountid",
|
|
|
+ "reckondate",
|
|
|
+ "reportType"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "账号Id",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "avagepricedisplay": {
|
|
|
+ "description": "均价",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "buyorselldisplay": {
|
|
|
+ "description": "方向",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "curholderamount": {
|
|
|
+ "description": "当前持仓总金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "curpositionqty": {
|
|
|
+ "description": "当前持仓总数量",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "decimalplace": {
|
|
|
+ "description": "报价小数位",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "frozenqty": {
|
|
|
+ "description": "持仓冻结",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "goodsdisplay": {
|
|
|
+ "description": "商品名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goodsid": {
|
|
|
+ "description": "商品Id",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "reckondate": {
|
|
|
+ "description": "日照日期(yyyyMMdd)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "reportType": {
|
|
|
+ "description": "报表类型 日报表-1 月报表-2",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.ReportReckondaytaaccount": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "accountid",
|
|
|
+ "reckondate"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "资金账户ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "accountname": {
|
|
|
+ "description": "账户名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "accountpl": {
|
|
|
+ "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "avaiablemoney": {
|
|
|
+ "description": "可用资金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "avaiableoutmoney": {
|
|
|
+ "description": "可出资金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "balance": {
|
|
|
+ "description": "期初余额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "capitalbalance": {
|
|
|
+ "description": "本金余额[外部子账户实际出入金余额]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "changeflag": {
|
|
|
+ "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "clearbalance": {
|
|
|
+ "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "clearpl": {
|
|
|
+ "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "closepl": {
|
|
|
+ "description": "今日平仓盈亏",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "closepl2": {
|
|
|
+ "description": "平仓盈亏(逐笔)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "creditdecrease": {
|
|
|
+ "description": "今日授信减少",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "creditincrease": {
|
|
|
+ "description": "今日授信增加",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "curdebt": {
|
|
|
+ "description": "期末欠款",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "currencyid": {
|
|
|
+ "description": "货币ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "currentbalance": {
|
|
|
+ "description": "期末余额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "defercharge": {
|
|
|
+ "description": "今日递延费2支出[111, 112]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliveryamountin": {
|
|
|
+ "description": "今日交收货款收入",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliveryamountout": {
|
|
|
+ "description": "今日交收货款支出",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverycharge": {
|
|
|
+ "description": "今日交收手续费支出 [105,106]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverycompensationfeein": {
|
|
|
+ "description": "今日交收补偿费收入",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverycompensationfeeout": {
|
|
|
+ "description": "今日交收补偿费支出",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "dividedcharge": {
|
|
|
+ "description": "今日已收手续费分成",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "floatnetvalue": {
|
|
|
+ "description": "浮动净值 = 净值 + 浮动盈亏",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "floatpl": {
|
|
|
+ "description": "浮动盈亏 - 每日有负债类商品",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "freezecharge": {
|
|
|
+ "description": "手续费冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "freezemargin": {
|
|
|
+ "description": "冻结保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "fromaccountid": {
|
|
|
+ "description": "所属上级账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "holdcharge": {
|
|
|
+ "description": "今日持仓过夜费支出[108,109,110]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "inamount": {
|
|
|
+ "description": "今日入金金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "interestcharge": {
|
|
|
+ "description": "今日递延费支出[103, 104]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "ismain": {
|
|
|
+ "description": "是否账号 0:不是母账户 1:是母账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "ismarketaccount": {
|
|
|
+ "description": "是否机构接单账号 0:不是 1:是",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "isreckonaccount": {
|
|
|
+ "description": "是否机构分润账号 0:不是 1:是",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "mortgagecredit": {
|
|
|
+ "description": "授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "netvalue": {
|
|
|
+ "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oridebt": {
|
|
|
+ "description": "期初欠款",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orifreezecharge": {
|
|
|
+ "description": "期初手续费冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orifreezemargin": {
|
|
|
+ "description": "期初冻结保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orimortgagecredit": {
|
|
|
+ "description": "期初授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oriothercredit": {
|
|
|
+ "description": "期初其它授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oriotherfreezemargin": {
|
|
|
+ "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orioutamountfreeze": {
|
|
|
+ "description": "期初出金冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oriusedmargin": {
|
|
|
+ "description": "期初占用保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "othercredit": {
|
|
|
+ "description": "其它授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "othercreditdecrease": {
|
|
|
+ "description": "今日其它授信减少",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "othercreditincrease": {
|
|
|
+ "description": "今日其它授信增加",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "otherfreezemargin": {
|
|
|
+ "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "otherincome": {
|
|
|
+ "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "otherpay": {
|
|
|
+ "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "outamount": {
|
|
|
+ "description": "今日出金金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "outamountfreeze": {
|
|
|
+ "description": "出金冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "outthreshold": {
|
|
|
+ "description": "出金阈值",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "ownershipvalue": {
|
|
|
+ "description": "所有权市值",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "parentaccountid": {
|
|
|
+ "description": "所属根账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "password": {
|
|
|
+ "description": "资金密码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "paycharge": {
|
|
|
+ "description": "今日手续费支出",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "paycharge2": {
|
|
|
+ "description": "今日手续费支出(外部配置)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "payexchcharge": {
|
|
|
+ "description": "今日应付交易所手续费",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "reckondate": {
|
|
|
+ "description": "日照日期(yyyyMMdd)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "reckonpl": {
|
|
|
+ "description": "今日结算盈亏",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "reckonpl2": {
|
|
|
+ "description": "结算盈亏(逐笔) - 汇总取期末",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "relatedaccountstatus": {
|
|
|
+ "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "relateuserid": {
|
|
|
+ "description": "关联用户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "riskrate": {
|
|
|
+ "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "signstatus": {
|
|
|
+ "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "spotvalue": {
|
|
|
+ "description": "现货市值-统计服务更新",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "sublevelpath": {
|
|
|
+ "description": "账号层级路径(逗号分隔,首尾加逗号)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "taaccounttype": {
|
|
|
+ "description": "外部/内部账号 - 1:外部账号 2:内部账号",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "thirdinamount": {
|
|
|
+ "description": "今日三方入金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "thirdoutamount": {
|
|
|
+ "description": "今日三方出金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradeamount": {
|
|
|
+ "description": "今日成交金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradecharge": {
|
|
|
+ "description": "今日交易手续费支出 [101,102]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradeqty": {
|
|
|
+ "description": "今日成交量",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "tradestatus": {
|
|
|
+ "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "transferamount": {
|
|
|
+ "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "usedmargin": {
|
|
|
+ "description": "占用保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "userid": {
|
|
|
+ "description": "用户ID",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.ReportTradeDetail": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "histradedate",
|
|
|
+ "reportType"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "资金账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "buyorselldisplay": {
|
|
|
+ "description": "类型/方向",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "charge": {
|
|
|
+ "description": "服务费",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "decimalplace": {
|
|
|
+ "description": "报价小数位",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "goodsdisplay": {
|
|
|
+ "description": "商品",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goodsid": {
|
|
|
+ "description": "期货合约ID(自增ID SEQ_GOODS)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "histradedate": {
|
|
|
+ "description": "查询日期 日报表-yyyyMMdd 月报表-yyyyMM",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "reportType": {
|
|
|
+ "description": "报表类型 日报表-1 月报表-2",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "tradeamount": {
|
|
|
+ "description": "成交金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradeid": {
|
|
|
+ "description": "成交单号",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "tradeprice": {
|
|
|
+ "description": "价格",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradeqty": {
|
|
|
+ "description": "数量",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "tradetime": {
|
|
|
+ "description": "时间",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.Reporttaaccount": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "accountid",
|
|
|
+ "cycletime"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "资金账户ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "accountname": {
|
|
|
+ "description": "账户名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "accountpl": {
|
|
|
+ "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "avaiablemoney": {
|
|
|
+ "description": "可用资金【期末】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "avaiableoutmoney": {
|
|
|
+ "description": "可出资金【期末】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "balance": {
|
|
|
+ "description": "期初余额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "capitalbalance": {
|
|
|
+ "description": "本周期本金余额[外部子账户实际出入金余额]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "clearbalance": {
|
|
|
+ "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "clearpl": {
|
|
|
+ "description": "清算盈亏",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "closepl": {
|
|
|
+ "description": "本周期平仓盈亏",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "closepl2": {
|
|
|
+ "description": "平仓盈亏(逐笔)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "creditdecrease": {
|
|
|
+ "description": "本周期授信减少",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "creditincrease": {
|
|
|
+ "description": "本周期授信增加",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "curdebt": {
|
|
|
+ "description": "期末欠款【期末】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "currencyid": {
|
|
|
+ "description": "货币ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "currentbalance": {
|
|
|
+ "description": "期末余额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "cycletime": {
|
|
|
+ "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "cycletype": {
|
|
|
+ "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "defercharge": {
|
|
|
+ "description": "本周期递延费2支出[111, 112]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliveryamountin": {
|
|
|
+ "description": "本周期交收货款收入",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliveryamountout": {
|
|
|
+ "description": "本周期交收货款支出",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverycharge": {
|
|
|
+ "description": "本周期交收手续费支出 [105,106]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverycompensationfeein": {
|
|
|
+ "description": "本周期交收补偿费收入",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverycompensationfeeout": {
|
|
|
+ "description": "本周期交收补偿费支出",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "dividedcharge": {
|
|
|
+ "description": "本周期已收手续费分成",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "floatnetvalue": {
|
|
|
+ "description": "浮动净值【期末】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "floatpl": {
|
|
|
+ "description": "浮动盈亏【期末】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "freezecharge": {
|
|
|
+ "description": "手续费冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "freezemargin": {
|
|
|
+ "description": "冻结保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "fromaccountid": {
|
|
|
+ "description": "所属上级账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "holdcharge": {
|
|
|
+ "description": "本周期持仓过夜费支出[108,109, 110]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "inamount": {
|
|
|
+ "description": "本周期入金金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "interestcharge": {
|
|
|
+ "description": "本周期递延费支出[103, 104]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "ismain": {
|
|
|
+ "description": "是否母账号 0:不是母账户 1:是母账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "mortgagecredit": {
|
|
|
+ "description": "授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "netvalue": {
|
|
|
+ "description": "净值 = 期末余额 + 所有权市值",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oridebt": {
|
|
|
+ "description": "期初欠款【期初】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orifreezecharge": {
|
|
|
+ "description": "期初手续费冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orifreezemargin": {
|
|
|
+ "description": "期初冻结保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orimortgagecredit": {
|
|
|
+ "description": "期初授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oriothercredit": {
|
|
|
+ "description": "期初其它授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oriotherfreezemargin": {
|
|
|
+ "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "orioutamountfreeze": {
|
|
|
+ "description": "期初出金冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "oriusedmargin": {
|
|
|
+ "description": "期初占用保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "othercredit": {
|
|
|
+ "description": "其它授信金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "othercreditdecrease": {
|
|
|
+ "description": "本周期其它授信减少",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "othercreditincrease": {
|
|
|
+ "description": "本周期其它授信增加",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "otherfreezemargin": {
|
|
|
+ "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "otherincome": {
|
|
|
+ "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "otherpay": {
|
|
|
+ "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "outamount": {
|
|
|
+ "description": "本周期出金金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "outamountfreeze": {
|
|
|
+ "description": "出金冻结",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "outthreshold": {
|
|
|
+ "description": "出金阈值",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "ownershipvalue": {
|
|
|
+ "description": "所有权市值",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "parentaccountid": {
|
|
|
+ "description": "所属根账户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "paycharge": {
|
|
|
+ "description": "本周期手续费支出",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "paycharge2": {
|
|
|
+ "description": "今日手续费支出(外部配置)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "payexchcharge": {
|
|
|
+ "description": "本周期应付交易所手续费",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "reckonpl": {
|
|
|
+ "description": "本周期结算盈亏",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "reckonpl2": {
|
|
|
+ "description": "结算盈亏(逐笔) - 汇总取期末",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "relateuserid": {
|
|
|
+ "description": "关联用户",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "riskrate": {
|
|
|
+ "description": "风险率【期末】",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "spotvalue": {
|
|
|
+ "description": "现货市值-统计服务更新",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "sublevelpath": {
|
|
|
+ "description": "账号层级路径(逗号分隔,首尾加逗号)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "taaccounttype": {
|
|
|
+ "description": "外部/内部账号 - 1:外部账号 2:内部账号",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "thirdinamount": {
|
|
|
+ "description": "本周期三方入金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "thirdoutamount": {
|
|
|
+ "description": "本周期三方出金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradeamount": {
|
|
|
+ "description": "本周期成交金额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradecharge": {
|
|
|
+ "description": "本周期交易手续费支出 [101,102]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "tradeqty": {
|
|
|
+ "description": "本周期成交量",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "transferamount": {
|
|
|
+ "description": "本周期划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "updatetime": {
|
|
|
+ "description": "更新时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "usedmargin": {
|
|
|
+ "description": "占用保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "userid": {
|
|
|
+ "description": "用户ID",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.RoleMenu": {
|
|
|
"type": "object",
|
|
|
"properties": {
|