|
| 1 | +// Package docs Code generated by swaggo/swag. DO NOT EDIT |
| 2 | +package docs |
| 3 | + |
| 4 | +import "github.com/swaggo/swag" |
| 5 | + |
| 6 | +const docTemplate = `{ |
| 7 | + "schemes": {{ marshal .Schemes }}, |
| 8 | + "swagger": "2.0", |
| 9 | + "info": { |
| 10 | + "description": "{{escape .Description}}", |
| 11 | + "title": "{{.Title}}", |
| 12 | + "contact": {}, |
| 13 | + "version": "{{.Version}}" |
| 14 | + }, |
| 15 | + "host": "{{.Host}}", |
| 16 | + "basePath": "{{.BasePath}}", |
| 17 | + "paths": { |
| 18 | + "/api/v1/common/code/verify": { |
| 19 | + "post": { |
| 20 | + "consumes": [ |
| 21 | + "application/json" |
| 22 | + ], |
| 23 | + "produces": [ |
| 24 | + "application/json" |
| 25 | + ], |
| 26 | + "tags": [ |
| 27 | + "Common" |
| 28 | + ], |
| 29 | + "summary": "send verify code", |
| 30 | + "parameters": [ |
| 31 | + { |
| 32 | + "description": "email", |
| 33 | + "name": "email", |
| 34 | + "in": "body", |
| 35 | + "schema": { |
| 36 | + "type": "string" |
| 37 | + } |
| 38 | + }, |
| 39 | + { |
| 40 | + "description": "phone", |
| 41 | + "name": "phone", |
| 42 | + "in": "body", |
| 43 | + "schema": { |
| 44 | + "type": "string" |
| 45 | + } |
| 46 | + } |
| 47 | + ], |
| 48 | + "responses": { |
| 49 | + "200": { |
| 50 | + "description": "OK", |
| 51 | + "schema": { |
| 52 | + "$ref": "#/definitions/result.ResponseSuccessBean-NullJson" |
| 53 | + } |
| 54 | + } |
| 55 | + } |
| 56 | + } |
| 57 | + }, |
| 58 | + "/api/v1/customer/register": { |
| 59 | + "post": { |
| 60 | + "consumes": [ |
| 61 | + "application/json" |
| 62 | + ], |
| 63 | + "produces": [ |
| 64 | + "application/json" |
| 65 | + ], |
| 66 | + "tags": [ |
| 67 | + "Customer" |
| 68 | + ], |
| 69 | + "summary": "customer register", |
| 70 | + "parameters": [ |
| 71 | + { |
| 72 | + "description": "customer register request", |
| 73 | + "name": "req", |
| 74 | + "in": "body", |
| 75 | + "required": true, |
| 76 | + "schema": { |
| 77 | + "$ref": "#/definitions/dto.CustomerRegisterReq" |
| 78 | + } |
| 79 | + } |
| 80 | + ], |
| 81 | + "responses": { |
| 82 | + "200": { |
| 83 | + "description": "OK", |
| 84 | + "schema": { |
| 85 | + "$ref": "#/definitions/result.ResponseSuccessBean-dto_CustomerRegisterResp" |
| 86 | + } |
| 87 | + } |
| 88 | + } |
| 89 | + } |
| 90 | + } |
| 91 | + }, |
| 92 | + "definitions": { |
| 93 | + "dto.CustomerRegisterReq": { |
| 94 | + "type": "object", |
| 95 | + "required": [ |
| 96 | + "code", |
| 97 | + "password", |
| 98 | + "phone" |
| 99 | + ], |
| 100 | + "properties": { |
| 101 | + "code": { |
| 102 | + "type": "string" |
| 103 | + }, |
| 104 | + "email": { |
| 105 | + "type": "string" |
| 106 | + }, |
| 107 | + "password": { |
| 108 | + "type": "string" |
| 109 | + }, |
| 110 | + "phone": { |
| 111 | + "type": "string" |
| 112 | + } |
| 113 | + } |
| 114 | + }, |
| 115 | + "dto.CustomerRegisterResp": { |
| 116 | + "type": "object", |
| 117 | + "properties": { |
| 118 | + "loginToken": { |
| 119 | + "type": "string" |
| 120 | + } |
| 121 | + } |
| 122 | + }, |
| 123 | + "result.NullJson": { |
| 124 | + "type": "object" |
| 125 | + }, |
| 126 | + "result.ResponseSuccessBean-NullJson": { |
| 127 | + "type": "object", |
| 128 | + "properties": { |
| 129 | + "code": { |
| 130 | + "type": "integer" |
| 131 | + }, |
| 132 | + "data": { |
| 133 | + "$ref": "#/definitions/result.NullJson" |
| 134 | + }, |
| 135 | + "msg": { |
| 136 | + "type": "string" |
| 137 | + } |
| 138 | + } |
| 139 | + }, |
| 140 | + "result.ResponseSuccessBean-dto_CustomerRegisterResp": { |
| 141 | + "type": "object", |
| 142 | + "properties": { |
| 143 | + "code": { |
| 144 | + "type": "integer" |
| 145 | + }, |
| 146 | + "data": { |
| 147 | + "$ref": "#/definitions/dto.CustomerRegisterResp" |
| 148 | + }, |
| 149 | + "msg": { |
| 150 | + "type": "string" |
| 151 | + } |
| 152 | + } |
| 153 | + } |
| 154 | + } |
| 155 | +}` |
| 156 | + |
| 157 | +// SwaggerInfo holds exported Swagger Info so clients can modify it |
| 158 | +var SwaggerInfo = &swag.Spec{ |
| 159 | + Version: "", |
| 160 | + Host: "", |
| 161 | + BasePath: "", |
| 162 | + Schemes: []string{}, |
| 163 | + Title: "", |
| 164 | + Description: "", |
| 165 | + InfoInstanceName: "swagger", |
| 166 | + SwaggerTemplate: docTemplate, |
| 167 | + LeftDelim: "{{", |
| 168 | + RightDelim: "}}", |
| 169 | +} |
| 170 | + |
| 171 | +func init() { |
| 172 | + swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) |
| 173 | +} |
0 commit comments