|
|
@@ -1,14 +1,13 @@
|
|
|
-// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
|
|
+// Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
|
|
// This file was generated by swaggo/swag
|
|
|
-
|
|
|
package docs
|
|
|
|
|
|
import (
|
|
|
"bytes"
|
|
|
"encoding/json"
|
|
|
"strings"
|
|
|
+ "text/template"
|
|
|
|
|
|
- "github.com/alecthomas/template"
|
|
|
"github.com/swaggo/swag"
|
|
|
)
|
|
|
|
|
|
@@ -16,7 +15,7 @@ var doc = `{
|
|
|
"schemes": {{ marshal .Schemes }},
|
|
|
"swagger": "2.0",
|
|
|
"info": {
|
|
|
- "description": "{{.Description}}",
|
|
|
+ "description": "{{escape .Description}}",
|
|
|
"title": "{{.Title}}",
|
|
|
"termsOfService": "http://www.muchinfo.cn",
|
|
|
"contact": {},
|
|
|
@@ -13854,6 +13853,48 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/WrTrade2/QueryWrSearchUser": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "仓单贸易v2"
|
|
|
+ ],
|
|
|
+ "summary": "查询用户",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "description": "用户名称(模糊匹配)",
|
|
|
+ "name": "username",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/models.WrSearchUser"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/WrTrade2/QueryWrSpecialMatchOrder": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
@@ -14339,9 +14380,7 @@ var doc = `{
|
|
|
"code": {
|
|
|
"type": "integer"
|
|
|
},
|
|
|
- "data": {
|
|
|
- "type": "object"
|
|
|
- },
|
|
|
+ "data": {},
|
|
|
"msg": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
@@ -17421,31 +17460,31 @@ var doc = `{
|
|
|
"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": {
|
|
|
@@ -37078,6 +37117,26 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.WrSearchUser": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "username"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "userid": {
|
|
|
+ "description": "用户ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "username": {
|
|
|
+ "description": "用户名称(已脱敏)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "username2": {
|
|
|
+ "description": "用户名称(未脱敏)",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.WrSiteColumnDetail": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -40466,6 +40525,13 @@ func (s *s) ReadDoc() string {
|
|
|
a, _ := json.Marshal(v)
|
|
|
return string(a)
|
|
|
},
|
|
|
+ "escape": func(v interface{}) string {
|
|
|
+ // escape tabs
|
|
|
+ str := strings.Replace(v.(string), "\t", "\\t", -1)
|
|
|
+ // replace " with \", and if that results in \\", replace that with \\\"
|
|
|
+ str = strings.Replace(str, "\"", "\\\"", -1)
|
|
|
+ return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
|
|
|
+ },
|
|
|
}).Parse(doc)
|
|
|
if err != nil {
|
|
|
return doc
|
|
|
@@ -40480,5 +40546,5 @@ func (s *s) ReadDoc() string {
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
|
- swag.Register(swag.Name, &s{})
|
|
|
+ swag.Register("swagger", &s{})
|
|
|
}
|