|
|
@@ -23934,6 +23934,90 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/sbyj/QueryUserGoodsInventory": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "订单系统"
|
|
|
+ ],
|
|
|
+ "summary": "用户库存查询",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "用户ID",
|
|
|
+ "name": "userId",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.Usergoodsinventory"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/sbyj/QueryUserGoodsInventoryLog": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "订单系统"
|
|
|
+ ],
|
|
|
+ "summary": "用户出入库流水查询",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "用户ID",
|
|
|
+ "name": "userId",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.Usergoodsinventorylog"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/sbyj/QueryUserTradeSettings": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
@@ -24441,11 +24525,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"fillData": {
|
|
|
"description": "单行文本、多行文本、日期、身份证类型参数填充。",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/asign.APIFillData"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/asign.APIFillData"
|
|
|
},
|
|
|
"tableDatas": {
|
|
|
"description": "表格填充数据",
|
|
|
@@ -24489,19 +24569,11 @@ const docTemplate = `{
|
|
|
"properties": {
|
|
|
"company": {
|
|
|
"description": "企业法人银行卡四要素,实体类型为企业时必填",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/asign.CompanyBankCard4"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/asign.CompanyBankCard4"
|
|
|
},
|
|
|
"person": {
|
|
|
"description": "个人银行卡四要素,实体类型为个人时必填",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/asign.PersonBankCard4"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/asign.PersonBankCard4"
|
|
|
},
|
|
|
"type": {
|
|
|
"description": "实体类型 1:个人 2:企业",
|
|
|
@@ -25021,11 +25093,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"province": {
|
|
|
"description": "省",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.Division"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.Division"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -26427,7 +26495,7 @@ const docTemplate = `{
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"amount": {
|
|
|
- "description": "点价金额=(点价价格+升贴水)*点价数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"applyid": {
|
|
|
@@ -27011,7 +27079,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"deductamount": {
|
|
|
- "description": "退款(非必填)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"deliverygoodscode": {
|
|
|
@@ -27051,7 +27119,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"payamount": {
|
|
|
- "description": "收付款(非必填)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"pricemove": {
|
|
|
@@ -27218,11 +27286,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"mg": {
|
|
|
"description": "套保品种基本信息",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
|
|
|
},
|
|
|
"wrcList": {
|
|
|
"description": "现货品种列表(现货商品折算配置)",
|
|
|
@@ -27819,31 +27883,31 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffArbitrageQty": {
|
|
|
- "description": "套利变动量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffExposoureQty": {
|
|
|
- "description": "变动量(套保敞口)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffFutuQty": {
|
|
|
- "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffHedgeQty": {
|
|
|
- "description": "套保变动量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffQty": {
|
|
|
- "description": "变动量(总敞口) 平安:净敞口今日变动",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffSpotHedgeQty": {
|
|
|
- "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffSpotQty": {
|
|
|
- "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"enumdicname": {
|
|
|
@@ -29458,11 +29522,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"ouruser": {
|
|
|
"description": "我方账号",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/erms3.CustomerInfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/erms3.CustomerInfo"
|
|
|
},
|
|
|
"warehouseinfos": {
|
|
|
"description": "仓库信息列表",
|
|
|
@@ -29797,11 +29857,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"province": {
|
|
|
"description": "省",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.Division"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.Division"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -31841,7 +31897,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"curaverageprice": {
|
|
|
- "description": "期末均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"curbuyamount": {
|
|
|
@@ -31853,7 +31909,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"curmarketvalue": {
|
|
|
- "description": "参考市值(期末市值)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"curqty": {
|
|
|
@@ -31877,7 +31933,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"curspotprice": {
|
|
|
- "description": "参考市价(最新价)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"cycletime": {
|
|
|
@@ -31909,7 +31965,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"floatpl": {
|
|
|
- "description": "浮动损益",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"goodsunitid": {
|
|
|
@@ -31957,7 +32013,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaybuyaverageprice": {
|
|
|
- "description": "今日采购均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaybuyqty": {
|
|
|
@@ -31977,7 +32033,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaysellaverageprice": {
|
|
|
- "description": "今日销售均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaysellqty": {
|
|
|
@@ -34909,7 +34965,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"convertratio": {
|
|
|
- "description": "折算系数",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"cycletime": {
|
|
|
@@ -34933,11 +34989,11 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"diffprice": {
|
|
|
- "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"diffqty": {
|
|
|
- "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"enddate": {
|
|
|
@@ -34945,7 +35001,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"hedgeplanqty": {
|
|
|
- "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"matchname": {
|
|
|
@@ -34969,31 +35025,31 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"middlegoodspricedqty": {
|
|
|
- "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"middlegoodspricedqty2": {
|
|
|
- "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"middlegoodspricedqty3": {
|
|
|
- "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"needhedgeratio": {
|
|
|
- "description": "套保系数",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"pricedamount": {
|
|
|
- "description": "已定价额(现货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"pricedamount2": {
|
|
|
- "description": "已定价额(现货-基价额)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"pricedqty": {
|
|
|
- "description": "已定价量(现货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"reckondate": {
|
|
|
@@ -35001,11 +35057,11 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"relatedmiddlegoodsamount": {
|
|
|
- "description": "已关联额(期货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"relatedmiddlegoodsqty": {
|
|
|
- "description": "已关联量(套保品种)(期货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"spotcontractid": {
|
|
|
@@ -35013,39 +35069,39 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"todayavgfutuprice": {
|
|
|
- "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todayavgprice": {
|
|
|
- "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todayavgprice2": {
|
|
|
- "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaypricedamount": {
|
|
|
- "description": "今日定价额(现货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaypricedamount2": {
|
|
|
- "description": "今日定价额(现货-基价额)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaypricedqty": {
|
|
|
- "description": "今日定价量(现货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todayrelatedfutureqty": {
|
|
|
- "description": "今日关联量(期货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todayrelatedmiddlegoodsamount": {
|
|
|
- "description": "今日关联额(期货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todayrelatedmiddlegoodsqty": {
|
|
|
- "description": "今日关联量(套保品-期货)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"updatetime": {
|
|
|
@@ -35057,7 +35113,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"vatrate": {
|
|
|
- "description": "增值税率",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"wrstandardcode": {
|
|
|
@@ -35606,7 +35662,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"closeavgprice": {
|
|
|
- "description": "平仓均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"closepl": {
|
|
|
@@ -35674,7 +35730,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"holdqty": {
|
|
|
- "description": "期末持仓量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"lastholdamount": {
|
|
|
@@ -35706,7 +35762,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"openavgprice": {
|
|
|
- "description": "开仓均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"oriholdamount": {
|
|
|
@@ -35714,7 +35770,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"oriholdqty": {
|
|
|
- "description": "期初持仓量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"oriopenamount": {
|
|
|
@@ -35758,7 +35814,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaycloseqty": {
|
|
|
- "description": "今平仓量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todaygoodsgroupspotqty": {
|
|
|
@@ -35774,7 +35830,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"todayopenqty": {
|
|
|
- "description": "今开仓量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"userid": {
|
|
|
@@ -37556,11 +37612,7 @@ const docTemplate = `{
|
|
|
"properties": {
|
|
|
"menu": {
|
|
|
"description": "父级菜单",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.ErmcpRoleMenu"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.ErmcpRoleMenu"
|
|
|
},
|
|
|
"subMenu": {
|
|
|
"description": "子级菜单",
|
|
|
@@ -37866,11 +37918,7 @@ const docTemplate = `{
|
|
|
"properties": {
|
|
|
"mainAcc": {
|
|
|
"description": "主账号",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.ErmcpTaAccountM"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.ErmcpTaAccountM"
|
|
|
},
|
|
|
"subacclist": {
|
|
|
"description": "子账号列表",
|
|
|
@@ -40040,11 +40088,7 @@ const docTemplate = `{
|
|
|
"properties": {
|
|
|
"riskRatioType": {
|
|
|
"description": "风险率类型表",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.Riskratiotype"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.Riskratiotype"
|
|
|
},
|
|
|
"todayAccountMargins": {
|
|
|
"description": "今日账户保证金表",
|
|
|
@@ -53305,11 +53349,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"tHDetailEx": {
|
|
|
"description": "交易持仓扩展表记录",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.TradeHolderDetailEx"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.TradeHolderDetailEx"
|
|
|
},
|
|
|
"thumurls": {
|
|
|
"description": "缩略图片(1:1)(逗号分隔)",
|
|
|
@@ -55381,11 +55421,7 @@ const docTemplate = `{
|
|
|
"properties": {
|
|
|
"goodsinfo": {
|
|
|
"description": "商品信息",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
|
|
|
},
|
|
|
"spotgoodspricelogs": {
|
|
|
"description": "历史价格走势",
|
|
|
@@ -55519,11 +55555,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"goodsinfo": {
|
|
|
"description": "商品信息",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.THJPurchaseTradeDetail_Goodsinfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.THJPurchaseTradeDetail_Goodsinfo"
|
|
|
},
|
|
|
"spotgoodspricelogs": {
|
|
|
"description": "历史价格走势",
|
|
|
@@ -55820,11 +55852,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"goodsinfo": {
|
|
|
"description": "商品信息",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
|
|
|
},
|
|
|
"presaleapplydeposits": {
|
|
|
"description": "支付方式",
|
|
|
@@ -57267,11 +57295,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"infoc": {
|
|
|
"description": "配置参数",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
|
|
|
},
|
|
|
"marketid": {
|
|
|
"description": "市场ID",
|
|
|
@@ -57303,7 +57327,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"orderprice": {
|
|
|
- "description": "委托价格",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"orderqty": {
|
|
|
@@ -57372,7 +57396,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"qty": {
|
|
|
- "description": "转让数量(数量)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"tradeid": {
|
|
|
@@ -57847,7 +57871,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"freezeqty": {
|
|
|
- "description": "冻结数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"goodscode": {
|
|
|
@@ -57883,7 +57907,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"holderqty": {
|
|
|
- "description": "持仓数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"isconfirmexercise": {
|
|
|
@@ -57907,7 +57931,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"openqty": {
|
|
|
- "description": "建仓数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"optiontype": {
|
|
|
@@ -58873,6 +58897,92 @@ const docTemplate = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.Usergoodsinventory": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "curqty": {
|
|
|
+ "description": "期末库存量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "goodsid": {
|
|
|
+ "description": "商品ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "updatetime": {
|
|
|
+ "description": "更新时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "userid": {
|
|
|
+ "description": "用户ID",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.Usergoodsinventorylog": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "applyid": {
|
|
|
+ "description": "申请ID(SEQ_USERGOODSINVENTORYLOG)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "applystatus": {
|
|
|
+ "description": "申请状态(enum:inoutapplystatus) - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "applytime": {
|
|
|
+ "description": "申请时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "auditid": {
|
|
|
+ "description": "审核人",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "auditremark": {
|
|
|
+ "description": "审核备注",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "audittime": {
|
|
|
+ "description": "审核时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "clientticket": {
|
|
|
+ "description": "客户端流水号",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goodsid": {
|
|
|
+ "description": "商品ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "inoutmodel": {
|
|
|
+ "description": "出入库方式 - 1:邮寄 3:自提 4:配送(enum:appointmentModelOut)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "inouttype": {
|
|
|
+ "description": "申请类型 - 1:入库 2:出库 (enum:inouttype)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "inrealqty": {
|
|
|
+ "description": "实际数量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "qty": {
|
|
|
+ "description": "数量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "remark": {
|
|
|
+ "description": "备注",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "tradedate": {
|
|
|
+ "description": "交易日(yyyyMMdd)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "userid": {
|
|
|
+ "description": "申请人ID",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.Userinfo": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -59488,7 +59598,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"fixedprice": {
|
|
|
- "description": "挂牌价格",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"handlestatus": {
|
|
|
@@ -59496,7 +59606,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"marginvalue": {
|
|
|
- "description": "履约保证金比例",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"marketid": {
|
|
|
@@ -59678,7 +59788,7 @@ const docTemplate = `{
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"averageprice": {
|
|
|
- "description": "成交均价",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"tradedate": {
|
|
|
@@ -59936,7 +60046,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"averageprice": {
|
|
|
- "description": "交割均价 = 交割金额 / 交割数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"begindate": {
|
|
|
@@ -60060,7 +60170,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"xgoodsamount": {
|
|
|
- "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"xgoodscode": {
|
|
|
@@ -60948,7 +61058,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"stepvalue": {
|
|
|
- "description": "步骤值",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"templateid": {
|
|
|
@@ -61259,7 +61369,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"amount": {
|
|
|
- "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"bannerpicurl": {
|
|
|
@@ -61319,11 +61429,11 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"freezecharge": {
|
|
|
- "description": "冻结手续费",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"freezemargin": {
|
|
|
- "description": "冻结保证金(保证金)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"futupricemove": {
|
|
|
@@ -61359,7 +61469,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"marginvalue": {
|
|
|
- "description": "保证金设置值(履约保证金)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"marketid": {
|
|
|
@@ -61601,7 +61711,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"delistminqty": {
|
|
|
- "description": "起摘数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"deliverymonth": {
|
|
|
@@ -62022,7 +62132,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"unpaidamount": {
|
|
|
- "description": "剩余款(待支付金额)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"userid": {
|
|
|
@@ -62569,7 +62679,7 @@ const docTemplate = `{
|
|
|
"type": "integer"
|
|
|
},
|
|
|
"delistminqty": {
|
|
|
- "description": "起摘数量",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"deliverygoodscode": {
|
|
|
@@ -62706,11 +62816,11 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"tradeamount": {
|
|
|
- "description": "日成交金额(当日单方向成交金额)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"tradeqty": {
|
|
|
- "description": "日成交数量(当日单方向成交数量)",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"wrstandardid": {
|
|
|
@@ -62879,7 +62989,7 @@ const docTemplate = `{
|
|
|
"type": "number"
|
|
|
},
|
|
|
"unpaidinterest": {
|
|
|
- "description": "未结费用",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"updatetime": {
|
|
|
@@ -63471,7 +63581,7 @@ const docTemplate = `{
|
|
|
"type": "string"
|
|
|
},
|
|
|
"orderprice": {
|
|
|
- "description": "委托价格",
|
|
|
+ "description": "期初均价",
|
|
|
"type": "number"
|
|
|
},
|
|
|
"orderqty": {
|
|
|
@@ -66765,19 +66875,11 @@ const docTemplate = `{
|
|
|
"properties": {
|
|
|
"organizationInfo": {
|
|
|
"description": "签署企业信息,用户类型为企业时必填",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/tencent.OrganizationInfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/tencent.OrganizationInfo"
|
|
|
},
|
|
|
"personInfo": {
|
|
|
"description": "签署人信息,用户类型为个人时必填",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/tencent.PersonInfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/tencent.PersonInfo"
|
|
|
},
|
|
|
"userESignRecordID": {
|
|
|
"description": "用户电子签记录表ID 只有当前状态是1和4的电子签记录才能发起合同签署",
|
|
|
@@ -66947,11 +67049,7 @@ const docTemplate = `{
|
|
|
},
|
|
|
"loginAccount": {
|
|
|
"description": "登录账号",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.Loginaccount"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.Loginaccount"
|
|
|
},
|
|
|
"markets": {
|
|
|
"description": "市场",
|
|
|
@@ -66969,19 +67067,11 @@ const docTemplate = `{
|
|
|
},
|
|
|
"userAccount": {
|
|
|
"description": "用户账号",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.Useraccount"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.Useraccount"
|
|
|
},
|
|
|
"userInfo": {
|
|
|
"description": "用户信息",
|
|
|
- "allOf": [
|
|
|
- {
|
|
|
- "$ref": "#/definitions/models.Userinfo"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "$ref": "#/definitions/models.Userinfo"
|
|
|
},
|
|
|
"username": {
|
|
|
"description": "用户姓名",
|