// 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": "http://swagger.io/terms/", "contact": {}, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/user/login": { "post": { "tags": [ "用户模块" ], "summary": "登录", "parameters": [ { "type": "string", "description": "用户ID", "name": "uid", "in": "formData" } ], "responses": { "200": { "description": "code\",\"data\",\"token\"}", "schema": { "type": "string" } } } } }, "/user/modify": { "post": { "tags": [ "用户模块" ], "summary": "修改用户信息", "parameters": [ { "type": "string", "description": "用户ID", "name": "uid", "in": "formData" }, { "type": "string", "description": "头像", "name": "avatar", "in": "formData" }, { "type": "string", "description": "用户名", "name": "name", "in": "formData" }, { "type": "string", "description": "电话", "name": "phone", "in": "formData" } ], "responses": { "200": { "description": "code\",\"data\",\"token\"}", "schema": { "type": "string" } } } } }, "/user/register": { "post": { "tags": [ "用户模块" ], "summary": "创建用户", "parameters": [ { "type": "string", "description": "用户ID", "name": "uid", "in": "formData" }, { "type": "string", "description": "用户名", "name": "name", "in": "formData" }, { "type": "string", "description": "头像", "name": "avatar", "in": "formData" } ], "responses": { "200": { "description": "code\",\"data\",\"message\"}", "schema": { "type": "string" } } } } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", Host: "127.0.0.1:8084", BasePath: "/WeChatTrading/trading-go", Schemes: []string{}, Title: "二手交易", Description: "一个基于微信小程序的校园二手交易平台的api", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }