|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- // Code generated by swaggo/swag. DO NOT EDIT.
-
- package docs
-
- import "github.com/swaggo/swag"
-
- const docTemplate = `{
- "schemes": {{ marshal .Schemes }},
- "swagger": "2.0",
- "info": {
- "description": "{{escape .Description}}",
- "title": "{{.Title}}",
- "termsOfService": "智莺生活后端组",
- "contact": {
- "name": "sherlockwhite"
- },
- "version": "{{.Version}}"
- },
- "host": "{{.Host}}",
- "basePath": "{{.BasePath}}",
- "paths": {
- "/api/v1/communityTeam/agent/login": {
- "post": {
- "description": "登入",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "登陆"
- ],
- "summary": "登陆",
- "parameters": [
- {
- "description": "请求参数",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.FastLoginRequestBody"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/md.LoginResponse"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "md.FastLoginRequestBody": {
- "type": "object",
- "properties": {
- "captcha": {
- "type": "string"
- },
- "card_key": {
- "description": "权益卡卡密",
- "type": "string"
- },
- "card_num": {
- "description": "权益卡卡号",
- "type": "string"
- },
- "invited_code": {
- "description": "邀请码",
- "type": "string"
- },
- "is_not_create": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "parent_uid": {
- "description": "上级ID",
- "type": "string"
- },
- "password": {
- "type": "string"
- },
- "pic_code": {
- "type": "string"
- },
- "pic_code_id": {
- "type": "string"
- },
- "return_user_msg": {
- "type": "string"
- },
- "task_id": {
- "type": "string"
- },
- "task_type": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "zone": {
- "type": "string"
- }
- }
- },
- "md.LoginResponse": {
- "type": "object",
- "properties": {
- "alipay_user_id": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "bind_phone_enable": {
- "type": "string"
- },
- "check_bind_phone": {
- "type": "string"
- },
- "invite_code": {
- "type": "string"
- },
- "is_need_check_nickname": {
- "type": "string"
- },
- "is_pid": {
- "type": "string"
- },
- "jd_applet_open_id": {
- "type": "string"
- },
- "password": {
- "type": "string"
- },
- "perms": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "phone": {
- "type": "string"
- },
- "register_invite_code_enable": {
- "description": "邀请码跳转是否开启",
- "type": "string"
- },
- "register_invite_code_should_input": {
- "description": "邀请码是否必填",
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "wechat_applet_open_id": {
- "type": "string"
- },
- "wechat_union_id": {
- "type": "string"
- }
- }
- },
- "md.Response": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "example": "响应码"
- },
- "data": {
- "description": "内容"
- },
- "msg": {
- "type": "string",
- "example": "具体错误原因"
- }
- }
- }
- },
- "securityDefinitions": {
- "MasterID": {
- "type": "apiKey",
- "name": "MasterID",
- "in": "header"
- }
- }
- }`
-
- // SwaggerInfo holds exported Swagger Info so clients can modify it
- var SwaggerInfo = &swag.Spec{
- Version: "1.0",
- Host: "localhost:5000",
- BasePath: "",
- Schemes: []string{},
- Title: "智莺生活移动端接口",
- Description: "移动端接口",
- InfoInstanceName: "swagger",
- SwaggerTemplate: docTemplate,
- }
-
- func init() {
- swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
- }
|