|
|
@@ -5882,6 +5882,45 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/User/LoginQuery": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "用户信息"
|
|
|
+ ],
|
|
|
+ "summary": "账户登录后信息查询",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "登录账号",
|
|
|
+ "name": "loginID",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/user.LoginQueryRsp"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/User/QueryMessageBoard": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
@@ -12139,6 +12178,46 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.Externalexchange": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "autoid"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "autoid": {
|
|
|
+ "description": "AutoID - SEQ_EXTERNALEXCHANGE",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "exchangefullname": {
|
|
|
+ "description": "外部交易所全称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "exexchangecode": {
|
|
|
+ "description": "外部交易所代码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "exexchangename": {
|
|
|
+ "description": "外部交易所名称(简称)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "ismarketprice": {
|
|
|
+ "description": "是否支持市价 - 0:不支持 1:支持",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "quotegear": {
|
|
|
+ "description": "行情档位(1-10)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "showbrokerflag": {
|
|
|
+ "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "updatetime": {
|
|
|
+ "description": "更新时间",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.Goods": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -12412,6 +12491,137 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.Goodsgroup": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "goodsgroupid",
|
|
|
+ "goodsgroupname",
|
|
|
+ "goodsgroupstatus",
|
|
|
+ "marketid"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "agreeunit": {
|
|
|
+ "description": "合约单位",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "canshort": {
|
|
|
+ "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "closepricemode": {
|
|
|
+ "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "closepriceparam": {
|
|
|
+ "description": "强平最新价浮动比例 - 方式为2时使用",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "createtime": {
|
|
|
+ "description": "创建时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "creatorid": {
|
|
|
+ "description": "创建人",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "currencyid": {
|
|
|
+ "description": "报价货币ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "decimalplace": {
|
|
|
+ "description": "报价小数位",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "exercisetype": {
|
|
|
+ "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "exexchangeid": {
|
|
|
+ "description": "外部交易所ID[通道交易]",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "goodsgroupid": {
|
|
|
+ "description": "商品组ID(自增ID)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "goodsgroupname": {
|
|
|
+ "description": "商品组名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goodsgroupstatus": {
|
|
|
+ "description": "商品组状态 - 1:正常 2:注销",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "goodunitid": {
|
|
|
+ "description": "报价单位ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "innerdealmode": {
|
|
|
+ "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "isbuylimited": {
|
|
|
+ "description": "是否限制建仓量 - 0:不限制 1:限制",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "marketid": {
|
|
|
+ "description": "所属市场ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "modifierid": {
|
|
|
+ "description": "修改人",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "modifytime": {
|
|
|
+ "description": "修改时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "outerdealmode": {
|
|
|
+ "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "outergroupcode": {
|
|
|
+ "description": "外部商品组代码[通道交易]",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "premiumdecimalplace": {
|
|
|
+ "description": "权利金小数位[场外期权]",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "premiumspreadalgorithm": {
|
|
|
+ "description": "权利金点差方式[场外期权] 1:比率 2:固定",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "premiumspreadvalue": {
|
|
|
+ "description": "权利金点差值[场外期权]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "qtydecimalplace": {
|
|
|
+ "description": "成交量小数位",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "quotegear": {
|
|
|
+ "description": "行情档位(1-10)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "quoteminunit": {
|
|
|
+ "description": "行情最小变动单位 [整数,报价小数位一起使用]",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "quoterid": {
|
|
|
+ "description": "报价商ID[场外期权]",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "quotesourcegroupid": {
|
|
|
+ "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "syncgoodsqty": {
|
|
|
+ "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.HsbyBuyMyPayOrder": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -13915,6 +14125,98 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.Loginaccount": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "loginid"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "canoutin": {
|
|
|
+ "description": "是否可出入金 - 0:不可 1:可",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "clientroleid": {
|
|
|
+ "description": "终端角色ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "haslogined": {
|
|
|
+ "description": "是否已登录 - 0:未登录 1:已登录",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "hasupdatedpwd": {
|
|
|
+ "description": "是否已更改密码 - 0:未修改 1:已修改",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "lastloginip": {
|
|
|
+ "description": "最新登录地址",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "lastloginmode": {
|
|
|
+ "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "lastloginremark": {
|
|
|
+ "description": "最新登录描述",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "lastlogintime": {
|
|
|
+ "description": "最新登录时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "logincode": {
|
|
|
+ "description": "登录代码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "loginfailnum": {
|
|
|
+ "description": "连续登录失败次数(登录成功时清零)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "loginid": {
|
|
|
+ "description": "登陆账号",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "loginport": {
|
|
|
+ "description": "最新登录端口",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "loginstatus": {
|
|
|
+ "description": "登录账号状态 1:正常 2:冻结 3:无效",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "loginusertype": {
|
|
|
+ "description": "登录账号类型 - 1:投资者 2:机构交易员",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "modifierid": {
|
|
|
+ "description": "修改人",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "modifytime": {
|
|
|
+ "description": "修改时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "password": {
|
|
|
+ "description": "登陆密码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "pwdwrongcount": {
|
|
|
+ "description": "密码错误次数",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "taaccountrighttype": {
|
|
|
+ "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "unfreezetime": {
|
|
|
+ "description": "账户解冻时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "userid": {
|
|
|
+ "description": "用户ID",
|
|
|
+ "type": "integer"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.Market": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -18037,6 +18339,44 @@ var doc = `{
|
|
|
"type": "string"
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "user.LoginQueryRsp": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "externalExchanges": {
|
|
|
+ "description": "外部交易所",
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.Externalexchange"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "goodsgroups": {
|
|
|
+ "description": "商品组",
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.Goodsgroup"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "loginAccount": {
|
|
|
+ "description": "登录账号",
|
|
|
+ "$ref": "#/definitions/models.Loginaccount"
|
|
|
+ },
|
|
|
+ "markets": {
|
|
|
+ "description": "市场",
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.Market"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "userAccount": {
|
|
|
+ "description": "用户账号",
|
|
|
+ "$ref": "#/definitions/models.Useraccount"
|
|
|
+ },
|
|
|
+ "userInfo": {
|
|
|
+ "description": "用户信息",
|
|
|
+ "$ref": "#/definitions/models.Userinfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"securityDefinitions": {
|