|
|
@@ -20,6 +20,7 @@ var doc = `{
|
|
|
"title": "{{.Title}}",
|
|
|
"termsOfService": "http://muchinfo.cn",
|
|
|
"contact": {},
|
|
|
+ "license": {},
|
|
|
"version": "{{.Version}}"
|
|
|
},
|
|
|
"host": "{{.Host}}",
|
|
|
@@ -710,6 +711,139 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/Ermcp/QueryContract": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "企业风险管理(app)"
|
|
|
+ ],
|
|
|
+ "summary": "查询合同(采购和销售)",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "合同类型 1-采购, -1-销售",
|
|
|
+ "name": "contracttype",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "查询类型 1-全部 2-待点价 3-履约结算",
|
|
|
+ "name": "QueryType",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/ermcp.QryErmcpRsp"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/Ermcp/QueryHedgePlan": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "企业风险管理(app)"
|
|
|
+ ],
|
|
|
+ "summary": "查询套保计划",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
|
|
|
+ "name": "HedgePlanStatus",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/Ermcp/QueryUserInfo": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "企业风险管理(app)"
|
|
|
+ ],
|
|
|
+ "summary": "查询客户资料",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
|
|
|
+ "name": "AccountStatus",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/ermcp.QryUserInfoRsp"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/Erms2/QueryArbitrageStrategy": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
@@ -3970,6 +4104,7 @@ var doc = `{
|
|
|
},
|
|
|
"province": {
|
|
|
"description": "省",
|
|
|
+ "type": "object",
|
|
|
"$ref": "#/definitions/models.Division"
|
|
|
}
|
|
|
}
|
|
|
@@ -4973,6 +5108,15 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "ermcp.QryErmcpRsp": {
|
|
|
+ "$ref": "#/definitions/models.ErmcpModel"
|
|
|
+ },
|
|
|
+ "ermcp.QryHedgePlanRsp": {
|
|
|
+ "$ref": "#/definitions/models.ErmcpHedgePlan"
|
|
|
+ },
|
|
|
+ "ermcp.QryUserInfoRsp": {
|
|
|
+ "$ref": "#/definitions/models.ErmcpUserModel"
|
|
|
+ },
|
|
|
"erms2.QueryArbitrageStrategyRsp": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -6107,33 +6251,7 @@ var doc = `{
|
|
|
}
|
|
|
},
|
|
|
"erms3.QryPendingBizRsp": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "accountid": {
|
|
|
- "description": "现货账户",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "areaname": {
|
|
|
- "description": "所属部门",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "bizid": {
|
|
|
- "description": "业务ID",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "bizname": {
|
|
|
- "description": "业务名称",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
|
|
|
- "type": "integer"
|
|
|
- }
|
|
|
- }
|
|
|
+ "$ref": "#/definitions/models.PendingAuditBizModel"
|
|
|
},
|
|
|
"erms3.QueryBusinessInfoRsp": {
|
|
|
"type": "object",
|
|
|
@@ -6223,6 +6341,7 @@ var doc = `{
|
|
|
},
|
|
|
"ouruser": {
|
|
|
"description": "我方账号",
|
|
|
+ "type": "object",
|
|
|
"$ref": "#/definitions/erms3.CustomerInfo"
|
|
|
},
|
|
|
"warehouseinfos": {
|
|
|
@@ -6558,6 +6677,7 @@ var doc = `{
|
|
|
},
|
|
|
"province": {
|
|
|
"description": "省",
|
|
|
+ "type": "object",
|
|
|
"$ref": "#/definitions/models.Division"
|
|
|
}
|
|
|
}
|
|
|
@@ -6670,6 +6790,221 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.ErmcpHedgePlan": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "contracttype": {
|
|
|
+ "description": "计划类型 - 1:采购 -1:销售",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "convertfactor": {
|
|
|
+ "description": "标仓系数",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliverygoodsid": {
|
|
|
+ "description": "现货品种ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "deliverygoodsname": {
|
|
|
+ "description": "现货品种名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "hedgeplanid": {
|
|
|
+ "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "hedgeplanno": {
|
|
|
+ "description": "套保计划编号",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "hedgeplanstatus": {
|
|
|
+ "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "planqty": {
|
|
|
+ "description": "计划数量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "plantime": {
|
|
|
+ "description": "计划时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "producttype": {
|
|
|
+ "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "remark": {
|
|
|
+ "description": "备注",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "spotgoodsdesc": {
|
|
|
+ "description": "商品型号",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "wrstandardid": {
|
|
|
+ "description": "现货商品ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "wrstandardname": {
|
|
|
+ "description": "现货商品名称",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.ErmcpModel": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "账户ID",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "accountname": {
|
|
|
+ "description": "账户名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "contracctstatus": {
|
|
|
+ "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "convertfactor": {
|
|
|
+ "description": "标仓系数",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "daikaiAmount": {
|
|
|
+ "description": "待开票额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "deliveryenddate": {
|
|
|
+ "description": "交割结束日",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "deliverygoodscode": {
|
|
|
+ "description": "现货商品代码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "deliverygoodsid": {
|
|
|
+ "description": "现货商品ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "deliverygoodsname": {
|
|
|
+ "description": "现货商品名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "deliverystartdate": {
|
|
|
+ "description": "交割开始日",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "enddate": {
|
|
|
+ "description": "点价结束日",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "enumdicname": {
|
|
|
+ "description": "单位名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goodscode": {
|
|
|
+ "description": "点价商品代码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goodsid": {
|
|
|
+ "description": "点价商品ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "invoiceamount": {
|
|
|
+ "description": "已开票额",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "payamount": {
|
|
|
+ "description": "已收付额(收款或付款)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "pricedqty": {
|
|
|
+ "description": "已定价量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "pricemove": {
|
|
|
+ "description": "升贴水",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "pricetype": {
|
|
|
+ "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "producttype": {
|
|
|
+ "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "qty": {
|
|
|
+ "description": "合同量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "spotcontractid": {
|
|
|
+ "description": "合同ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "spotgoodsdesc": {
|
|
|
+ "description": "商品型号(商品规格)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "startdate": {
|
|
|
+ "description": "点价开始日",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "unpayAmount": {
|
|
|
+ "description": "待支收额(支付或收款)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "unpricedqty": {
|
|
|
+ "description": "未定价量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "unsureqty": {
|
|
|
+ "description": "未确定量",
|
|
|
+ "type": "number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "models.ErmcpUserModel": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "address": {
|
|
|
+ "description": "通讯地址",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "cardnum": {
|
|
|
+ "description": "证件号码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "cardtype": {
|
|
|
+ "description": "证件类型",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "customername": {
|
|
|
+ "description": "企业名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "mobile": {
|
|
|
+ "description": "手机号码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "remark": {
|
|
|
+ "description": "备注",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "description": "账户状态",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "telphone": {
|
|
|
+ "description": "联系电话",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "userinfotype": {
|
|
|
+ "description": "客户类型",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.GoodsIDAndName": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -8502,6 +8837,35 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.PendingAuditBizModel": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "现货账户",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "areaname": {
|
|
|
+ "description": "所属部门",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "bizid": {
|
|
|
+ "description": "业务ID",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "bizname": {
|
|
|
+ "description": "业务名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.QuotePrimaryMenu": {
|
|
|
"type": "object",
|
|
|
"properties": {
|