// Package docs GENERATED BY SWAG; DO NOT EDIT
// This file was generated by swaggo/swag
package docs

import "github.com/swaggo/swag"

const docTemplate = `{
    "schemes": {{ marshal .Schemes }},
    "swagger": "2.0",
    "info": {
        "description": "{{escape .Description}}",
        "title": "{{.Title}}",
        "contact": {},
        "version": "{{.Version}}"
    },
    "host": "{{.Host}}",
    "basePath": "{{.BasePath}}",
    "paths": {
        "/Account/Login": {
            "post": {
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "账户服务"
                ],
                "summary": "账户登录",
                "parameters": [
                    {
                        "description": "登录入参",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.LoginReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "返回包括用户信息,token,过期时间",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.LoginRsp"
                                        },
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/Account/Loginout": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "账户服务"
                ],
                "summary": "用户登出请求",
                "responses": {
                    "200": {
                        "description": "出参",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/Account/TokenCheck": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "账户服务"
                ],
                "summary": "Token校验",
                "responses": {
                    "200": {
                        "description": "操作成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/MQ/SendMsgToMQ": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "总线业务"
                ],
                "summary": "总线业务",
                "parameters": [
                    {
                        "description": "入参",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.MQBodyReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "出参",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.MQBodyRsp"
                                        },
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/MQ/SendNtfToMQ": {
            "post": {
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "总线业务"
                ],
                "summary": "总线通知",
                "parameters": [
                    {
                        "description": "入参",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.MQNtfReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "出参",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/Quote/QuoteSubscribe": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "实时行情"
                ],
                "summary": "订阅商品实时行情请求",
                "parameters": [
                    {
                        "description": "入参1",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.QuoteSubscribeReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "出参",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "request.LoginReq": {
            "type": "object",
            "required": [
                "clientType",
                "password",
                "userName"
            ],
            "properties": {
                "clientType": {
                    "description": "客户端类型，2-PC交易端 3-手机客户端_安卓 4-网页客户端 5-微信客户端 6-手机客户端_苹果",
                    "type": "integer"
                },
                "password": {
                    "description": "密码",
                    "type": "string"
                },
                "userName": {
                    "description": "用户名，可以是LoginID/LoginCode/手机号码",
                    "type": "string"
                }
            }
        },
        "request.MQBodyReq": {
            "type": "object",
            "required": [
                "data",
                "funCodeReq",
                "isEncrypted"
            ],
            "properties": {
                "data": {
                    "description": "请求数据",
                    "type": "string"
                },
                "funCodeReq": {
                    "description": "请求功能码",
                    "type": "integer"
                },
                "funCodeRsp": {
                    "description": "回复功能码",
                    "type": "integer"
                },
                "isEncrypted": {
                    "description": "是否加密",
                    "type": "boolean"
                }
            }
        },
        "request.MQNtfReq": {
            "type": "object",
            "required": [
                "data",
                "funCode"
            ],
            "properties": {
                "data": {
                    "description": "数据",
                    "type": "string"
                },
                "funCode": {
                    "description": "功能码",
                    "type": "integer"
                },
                "topic": {
                    "description": "主题",
                    "type": "string"
                }
            }
        },
        "request.QuoteGoods": {
            "type": "object",
            "properties": {
                "exchangeId": {
                    "description": "交易所代码，一般写死250",
                    "type": "integer"
                },
                "goodsCode": {
                    "description": "商品代码，全大写",
                    "type": "string"
                }
            }
        },
        "request.QuoteSubscribeReq": {
            "type": "object",
            "properties": {
                "quoteGoodses": {
                    "description": "待订阅商品信息",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.QuoteGoods"
                    }
                }
            }
        },
        "response.LoginRsp": {
            "type": "object",
            "properties": {
                "expiresAt": {
                    "description": "过期时间",
                    "type": "integer"
                },
                "loginId": {
                    "description": "登录ID",
                    "type": "integer"
                },
                "token": {
                    "description": "新服务Token",
                    "type": "string"
                },
                "userId": {
                    "description": "用户ID",
                    "type": "integer"
                }
            }
        },
        "response.MQBodyRsp": {
            "type": "object",
            "properties": {
                "data": {
                    "description": "请求数据",
                    "type": "string"
                },
                "funcode": {
                    "description": "回复功能码",
                    "type": "integer"
                },
                "isEncrypted": {
                    "description": "是否加密",
                    "type": "boolean"
                }
            }
        },
        "response.Response": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "integer"
                },
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        }
    },
    "securityDefinitions": {
        "ApiKeyAuth": {
            "type": "apiKey",
            "name": "x-token",
            "in": "header"
        }
    }
}`

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
	Version:          "0.0.1",
	Host:             "",
	BasePath:         "",
	Schemes:          []string{},
	Title:            "Swagger Example API",
	Description:      "新接入服务",
	InfoInstanceName: "swagger",
	SwaggerTemplate:  docTemplate,
}

func init() {
	swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}
