{ "swagger": "2.0", "info": { "title": "seller", "contact": {}, "version": "0.0.1" }, "paths": { "/api/createApi": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "创建基础api", "parameters": [ { "description": "api路径, api中文描述, api组, 方法", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysApi" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", "schema": { "type": "string" } } } } }, "/api/deleteApi": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "删除api", "parameters": [ { "description": "ID", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysApi" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/api/deleteApisByIds": { "delete": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "删除选中Api", "parameters": [ { "description": "ID", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.IdsReq" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/api/getAllApis": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "获取所有的Api 不分页", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/api/getApiById": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "根据id获取api", "parameters": [ { "description": "根据id获取api", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetById" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/api/getApiList": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "分页获取API列表", "parameters": [ { "description": "分页获取API列表", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SearchApiParams" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/api/updateApi": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SysApi" ], "summary": "更新基础api", "parameters": [ { "description": "api路径, api中文描述, api组, 方法", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysApi" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}", "schema": { "type": "string" } } } } }, "/attribute/attribute-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "attribute" ], "summary": "分页获取规格属性列表", "parameters": [ { "type": "string", "name": "name", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.PageResult" } } } } }, "/authority/copyAuthority": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "拷贝角色", "parameters": [ { "description": "旧角色id, 新权限id, 新权限名, 新父角色id", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/response.SysAuthorityCopyResponse" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"拷贝成功\"}", "schema": { "type": "string" } } } } }, "/authority/createAuthority": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "创建角色", "parameters": [ { "description": "权限id, 权限名, 父角色id", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysAuthority" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", "schema": { "type": "string" } } } } }, "/authority/deleteAuthority": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "删除角色", "parameters": [ { "description": "删除角色", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysAuthority" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/authority/getAuthorityList": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "分页获取角色列表", "parameters": [ { "description": "页码, 每页大小", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.PageInfo" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/authority/updateAuthority": { "put": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Authority" ], "summary": "更新角色信息", "parameters": [ { "description": "权限id, 权限名, 父角色id", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysAuthority" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", "schema": { "type": "string" } } } } }, "/base/brochure": { "get": { "tags": [ "tools" ], "summary": "隐私协议单页", "parameters": [ { "type": "string", "name": "type", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"\"}", "schema": { "type": "string" } } } } }, "/base/captcha": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "tools" ], "summary": "生成图形验证码", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"验证码获取成功\"}", "schema": { "type": "string" } } } } }, "/base/chain": { "get": { "tags": [ "Chain" ], "summary": "获取区块链数据", "parameters": [ { "type": "string", "description": "区块/合约hash", "name": "hash", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/response.ChainResp" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/base/login": { "post": { "produces": [ "application/json" ], "tags": [ "account" ], "summary": "用户登录【v1.0】", "parameters": [ { "description": "email,password,phone,phone_code,sms_code", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserLogin" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"登陆成功\"}", "schema": { "type": "string" } } } } }, "/base/recoverPassword": { "post": { "produces": [ "application/json" ], "tags": [ "account" ], "summary": "找回密码【v1.0】", "parameters": [ { "description": "email,password,phone,phone_code,sms_code", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.RecoverPassword" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"密码重置成功\"}", "schema": { "type": "string" } } } } }, "/base/register": { "post": { "produces": [ "application/json" ], "tags": [ "account" ], "summary": "注册账号【v1.0】", "parameters": [ { "description": "email,password,phone,phone_code,sms_code", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserRegister" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"注册成功\"}", "schema": { "type": "string" } } } } }, "/base/sendEmail": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "tools" ], "summary": "发送邮件验证码[v1.0.0]", "parameters": [ { "description": "phone,type", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SendEmail" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/base/sendMessage": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "tools" ], "summary": "发送短信验证码[v1.0.0]", "parameters": [ { "description": "phone,type", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.SendMessage" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/business/createBusiness": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Business" ], "summary": "创建Business", "parameters": [ { "description": "创建Business", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SellerStore" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/business/deleteBusiness": { "delete": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Business" ], "summary": "删除Business", "parameters": [ { "description": "删除Business", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SellerStore" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/business/deleteBusinessByIds": { "delete": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Business" ], "summary": "批量删除Business", "parameters": [ { "description": "批量删除Business", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.IdsReq" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}", "schema": { "type": "string" } } } } }, "/business/findBusiness": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Business" ], "summary": "用id查询Business", "parameters": [ { "description": "用id查询Business", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SellerStore" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}", "schema": { "type": "string" } } } } }, "/business/getBusinessList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Business" ], "summary": "分页获取Business列表", "parameters": [ { "description": "分页获取Business列表", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.BusinessSearch" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/business/updateBusiness": { "put": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Business" ], "summary": "更新Business", "parameters": [ { "description": "更新Business", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SellerStore" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", "schema": { "type": "string" } } } } }, "/casbin/UpdateCasbin": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Casbin" ], "summary": "更新角色api权限", "parameters": [ { "description": "权限id, 权限模型列表", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CasbinInReceive" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", "schema": { "type": "string" } } } } }, "/casbin/getPolicyPathByAuthorityId": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Casbin" ], "summary": "获取权限列表", "parameters": [ { "description": "权限id, 权限模型列表", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CasbinInReceive" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/category/breadcrumb": { "get": { "tags": [ "category" ], "summary": "分页获取商品分类面包屑", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.SelectListResult" } } } } }, "/category/category-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "category" ], "summary": "分页获取商品分类列表", "parameters": [ { "type": "string", "description": "搜索", "name": "name", "in": "query" }, { "type": "integer", "description": "父id", "name": "pid", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.SelectListResult" } } } } }, "/category/category-tree": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "category" ], "summary": "分页获取商品分类树状列表", "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.TbCategoryTree" } } } } } }, "/common/couriers": { "get": { "tags": [ "common" ], "summary": "物流商列表", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"\"}", "schema": { "type": "string" } } } } }, "/console/influencer-sell-analyses": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "console" ], "summary": "获取网红销售额/订单数统计【v1.0】", "parameters": [ { "type": "integer", "description": "任务id", "name": "mission_id", "in": "query" }, { "type": "integer", "description": "1:个数 2:金额", "name": "type", "in": "query" }, { "type": "string", "description": "单位 取值:day:天 week:周 month:月 area:时间段", "name": "unit", "in": "query" }, { "type": "string", "description": "取值unit=day(0:今天 1:今天+1 -1:今天-1)week、month同day area:(2022-09-22|2022-10-22)", "name": "value", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/model.CoordinateData" } } } } }, "/console/influencer-sell-rank": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "console" ], "summary": "获取网红销售额排名【v1.0】", "parameters": [ { "type": "integer", "description": "任务id", "name": "mission_id", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "1:个数 2:金额", "name": "type", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.RankDataObj" } } } } } }, "/console/sell-analyses": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "console" ], "summary": "获取销售额/订单数统计【v1.0】", "parameters": [ { "type": "string", "description": "网红uuid", "name": "influencer_id", "in": "query" }, { "type": "integer", "description": "任务id", "name": "mission_id", "in": "query" }, { "type": "integer", "description": "1:个数 2:金额", "name": "type", "in": "query" }, { "type": "string", "description": "单位 取值:day:天 week:周 month:月 area:时间段", "name": "unit", "in": "query" }, { "type": "string", "description": "取值unit=day(0:今天 1:今天+1 -1:今天-1)week、month同day area:(2022-09-22|2022-10-22)", "name": "value", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/model.CoordinateData" } } } } }, "/dict/getDictDataList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "dict" ], "summary": "获取数据字典取值列表【v1.0】", "parameters": [ { "type": "string", "description": "取值 release_country=发布国家 release_channel=发布渠道 tag_type=标签类型", "name": "typeCode", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/file/dir": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "创建文件", "parameters": [ { "description": "文件内容", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.CreateSourceFile" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", "schema": { "$ref": "#/definitions/response.Response" } } } } }, "/file/file": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "创建文件", "parameters": [ { "description": "文件内容", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SourceFile" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", "schema": { "$ref": "#/definitions/response.Response" } } } }, "delete": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "删除文件(批量)", "parameters": [ { "description": "ids", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.IdsReq" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", "schema": { "$ref": "#/definitions/response.Response" } } } } }, "/file/fileList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "获取文件列表", "parameters": [ { "type": "string", "description": "标题", "name": "file_name", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "父级id", "name": "parent_id", "in": "query" }, { "type": "string", "description": "状态 1-已上传 0-正在上传 2-上传失败", "name": "status", "in": "query" }, { "type": "string", "description": "类型 1-图片 2-视频 3-文件 4-文件夹", "name": "type", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}", "schema": { "$ref": "#/definitions/response.Response" } } } } }, "/file/fileListCount": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "获取文件类型统计", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}", "schema": { "$ref": "#/definitions/response.Response" } } } } }, "/file/fileStatus": { "put": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "修改文件状态", "parameters": [ { "description": "文件内容", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateSourceFileStatusParams" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}", "schema": { "$ref": "#/definitions/response.Response" } } } } }, "/file/fileTree": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sourceFile" ], "summary": "获取文件树", "parameters": [ { "type": "boolean", "description": "只获取文件夹", "name": "only_dir", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}", "schema": { "$ref": "#/definitions/model.SourceFileTreeList" } } } } }, "/goods/goods": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "获取商品详情", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.TbGoodsResponse" } } } }, "put": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "编辑商品", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.UpdateTbGoods" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.IDResponse" } } } }, "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "创建商品", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.CreateTbGoods" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.IDResponse" } } } }, "delete": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "删除商品", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.IdsReq" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/goods/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "获取商品列表", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "string", "description": "编号", "name": "spu_no", "in": "query" }, { "type": "integer", "description": "1:在售中 2:已下架 3:已售罄", "name": "status", "in": "query" }, { "type": "string", "description": "标题", "name": "title", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.PageResult" } } } } }, "/goods/online": { "put": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "上下架商品", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.BatchOnline" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/goods/sale": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "销售管理", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "string", "name": "title", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.PageResult" } } } } }, "/goods/skuList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "获取sku列表", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.SelectListResult" } } } }, "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "更新sku列表", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.UpdateSku" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/influencer/user": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "influencer" ], "summary": "获取用户基本信息", "parameters": [ { "type": "string", "description": "用户id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/menu/addBaseMenu": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Menu" ], "summary": "新增菜单", "parameters": [ { "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysBaseMenu" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"添加成功\"}", "schema": { "type": "string" } } } } }, "/menu/addMenuAuthority": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "AuthorityMenu" ], "summary": "增加menu和角色关联关系", "parameters": [ { "description": "角色ID", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.AddMenuAuthorityInfo" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"添加成功\"}", "schema": { "type": "string" } } } } }, "/menu/deleteBaseMenu": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Menu" ], "summary": "删除菜单", "parameters": [ { "description": "菜单id", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetById" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/menu/getBaseMenuById": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Menu" ], "summary": "根据id获取菜单", "parameters": [ { "description": "菜单id", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetById" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/menu/getBaseMenuTree": { "post": { "security": [ { "ApiKeyAuth": [] } ], "produces": [ "application/json" ], "tags": [ "AuthorityMenu" ], "summary": "获取用户动态路由", "parameters": [ { "description": "空", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.Empty" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/menu/getMenu": { "post": { "security": [ { "ApiKeyAuth": [] } ], "produces": [ "application/json" ], "tags": [ "AuthorityMenu" ], "summary": "获取用户动态路由", "parameters": [ { "description": "空", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.Empty" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/menu/getMenuAuthority": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "AuthorityMenu" ], "summary": "获取指定角色menu", "parameters": [ { "description": "角色ID", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.GetAuthorityId" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/menu/getMenuForList": { "post": { "security": [ { "ApiKeyAuth": [] } ], "produces": [ "application/json" ], "tags": [ "AuthorityMenu" ], "summary": "获取用户动态路由List", "parameters": [ { "description": "空", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.Empty" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/menu/getMenuList": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Menu" ], "summary": "分页获取基础menu列表", "parameters": [ { "description": "页码, 每页大小", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.PageInfo" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/menu/updateBaseMenu": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Menu" ], "summary": "更新菜单", "parameters": [ { "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysBaseMenu" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", "schema": { "type": "string" } } } } }, "/mission/claim-influencers": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务网红合集【v1.0】", "parameters": [ { "type": "integer", "description": "任务id", "name": "mission_id", "in": "query" }, { "type": "integer", "description": "销售情况 0:所有 1:仅看有销售额的", "name": "sales_type", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimInfluencer" } } } } } }, "/mission/claim-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务领取列表【v1.0】", "parameters": [ { "type": "integer", "description": "任务id", "name": "mission_id", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "状态 1:已领取待发货 2:已发货 3:已收货推广中", "name": "status", "in": "query" }, { "type": "string", "description": "网红用户ID", "name": "uuid", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimDetail" } } } } } }, "/mission/claim-order": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务订单详情【v1.0】", "parameters": [ { "type": "string", "description": "订单编号", "name": "order_id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.MissionClaimOrderResponse" } } } } }, "/mission/claim-order-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务订单列表【v1.0】", "parameters": [ { "type": "string", "description": "收件人姓名", "name": "address_name", "in": "query" }, { "type": "string", "description": "收件人手机号", "name": "address_phone", "in": "query" }, { "type": "string", "description": "订单id", "name": "order_id", "in": "query" }, { "type": "string", "description": "订单时间结束", "name": "order_time_end", "in": "query" }, { "type": "string", "description": "订单时间起始", "name": "order_time_start", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "string", "description": "商品编号", "name": "spu_no", "in": "query" }, { "type": "integer", "description": "状态 2:待发货 3:已发货", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimOrderDetail" } } } } } }, "/mission/claim-order-send": { "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务订单发货【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.MissionClaimOrderSend" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/mission/claim-video-audit": { "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "任务视频审核【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.StatusParamInt" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/mission/claim-video-detail": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "任务视频审核详情【v1.0】", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/response.MissionClaimVideoDetail" } } } } } }, "/mission/claim-video-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "任务视频审核列表【v1.0】", "parameters": [ { "type": "integer", "description": "任务id", "name": "mission_id", "in": "query" }, { "type": "string", "description": "任务标题", "name": "mission_title", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "奖励发放状态 1:未发放 2:已发放", "name": "reward_status", "in": "query" }, { "type": "integer", "description": "状态 1:待审核 2:审核通过 3:审核未通过", "name": "status", "in": "query" }, { "type": "string", "description": "网红用户ID", "name": "uuid", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/response.MissionClaimVideo" } } } } } }, "/mission/mission": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务详情【v1.0】", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.MissionResponse" } } } }, "put": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "编辑任务【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.UpdateMission" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.IDResponse" } } } }, "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "创建任务【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.CreateMission" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.IDResponse" } } } }, "delete": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "删除任务", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.IdsReq" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/mission/mission-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务列表【v1.0】", "parameters": [ { "type": "string", "description": "筛选任务时间", "name": "mission_time", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "状态 1:未开始 2:进行中 3:已结束", "name": "status", "in": "query" }, { "type": "string", "description": "名称", "name": "title", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.PageResult" } } } } }, "/mission/send-video-reward": { "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "发送固定费用任务奖励", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.IdReq" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/mission/stop": { "put": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "结束任务【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.StopMission" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/order/batchList": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "批量发货记录", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "发货状态 1-成功 2-失败", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.BatchDeliverList" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/batchListTotal": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "批量发货记录统计", "parameters": [ { "type": "integer", "description": "发货成功数量", "name": "status1", "in": "query" }, { "type": "integer", "description": "发货失败数量", "name": "status2", "in": "query" }, { "type": "integer", "name": "total", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.BatchDeliverList" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/batchSend": { "put": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "批量发货", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/model.PutDeliver" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "order" ], "summary": "导入发货数据", "parameters": [ { "description": "新增内容", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.ParamsUploadDesc" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"添加成功\"}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.OrderDeliver" } } } } } }, "/order/detail": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单详情", "parameters": [ { "type": "string", "description": "订单号", "name": "orderID", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.OrderDetail" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单列表", "parameters": [ { "type": "string", "description": "网红码?", "name": "code", "in": "query" }, { "type": "string", "description": "订单下单时间", "name": "createdAt", "in": "query" }, { "type": "string", "description": "下单截至时间", "name": "createdAtEnd", "in": "query" }, { "type": "string", "description": "下单起始时间", "name": "createdAtStart", "in": "query" }, { "type": "integer", "description": "商品id", "name": "goodsID", "in": "query" }, { "type": "string", "description": "网红id", "name": "influenceId", "in": "query" }, { "type": "string", "description": "收件人姓名", "name": "name", "in": "query" }, { "type": "string", "description": "订单号", "name": "orderID", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "string", "description": "收件人电话", "name": "phone", "in": "query" }, { "type": "string", "description": "商品spu_no", "name": "spu_no", "in": "query" }, { "type": "integer", "description": "订单状态 1-待付款 2-待发货 3-已发货 4-已完成 5-已取消", "name": "status", "in": "query" }, { "type": "string", "description": "用户id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.OrderList" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/postSale": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单退款申请详情", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.OrderPostSaleDetail" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "post": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "审核订单退款申请", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.ExamineOrderPostSale" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/postSale/list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单退款申请列表", "parameters": [ { "type": "string", "description": "成交时间区间结束", "name": "confirmTimeEnd", "in": "query" }, { "type": "string", "description": "成交时间区间开始", "name": "confirmTimeStart", "in": "query" }, { "type": "string", "description": "订单号", "name": "orderId", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "处理状态 1:待审核 2:退款中 3:退款成功 4:退款失败", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.OrderPostSaleDetail" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/postSale/refund": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "订单退款申请发起退款", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/order/send": { "put": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "发货", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.SendOrder" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/sub/accountList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sysSeller" ], "summary": "获取子账号列表", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.SysMenuApi" } } } } } }, "/sub/authority": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sysSeller" ], "summary": "获取角色api权限列表", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.SysMenuApi" } } } } }, "put": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sysSeller" ], "summary": "修改角色菜单api权限", "parameters": [ { "description": "页码, 每页大小", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UpdateAuthorityRole" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } }, "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sysSeller" ], "summary": "删除角色", "parameters": [ { "description": "删除角色", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysAuthority" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/sub/authorityList": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sysSeller" ], "summary": "分页获取角色列表", "parameters": [ { "description": "页码, 每页大小", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.PageInfo" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/sub/menuApiTree": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "sysSeller" ], "summary": "获取菜单接口树", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.SysMenuApi" } } } } } }, "/user/createUser": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "User" ], "summary": "创建User", "parameters": [ { "description": "创建User", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.User" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/user/deleteUser": { "delete": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "User" ], "summary": "删除User", "parameters": [ { "description": "删除User", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.User" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", "schema": { "type": "string" } } } } }, "/user/deleteUserByIds": { "delete": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "User" ], "summary": "批量删除User", "parameters": [ { "description": "批量删除User", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.IdsReq" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}", "schema": { "type": "string" } } } } }, "/user/findUser": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "User" ], "summary": "用userid查询User[v1.0.0]", "parameters": [ { "description": "用id查询User", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserSearchByUuid" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}", "schema": { "type": "string" } } } } }, "/user/getUserList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "User" ], "summary": "分页获取User列表", "parameters": [ { "description": "分页获取User列表", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserSearch" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "string" } } } } }, "/user/updateUser": { "put": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "User" ], "summary": "更新User", "parameters": [ { "description": "更新User", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.User" } } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", "schema": { "type": "string" } } } } }, "/wallet/account": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "绑定账户", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.AddAccount" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "delete": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "解绑账户", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.DeleteAccount" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.Wallet" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/accountList": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "获取账户列表", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.Account" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/commission": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "获取对账中心列表", "parameters": [ { "type": "string", "description": "查询结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "是否已到账 1-可用 2-在途", "name": "receipt", "in": "query" }, { "type": "string", "description": "查询开始时间", "name": "startTime", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.BillList" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/detail": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "钱包基本信息", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.Wallet" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/fund/list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "营销账户账单列表", "parameters": [ { "type": "string", "description": "查询结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "string", "description": "查询开始时间", "name": "startTime", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/fund/recharge": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "营销账户充值", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.FundRecharge" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/fund/withdrawal": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "营销账户提现", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.Withdrawal" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/withdrawal": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "获取提现记录", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "description": "类型 1-支出 2-收入", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.BillList" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "post": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "提现", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.WithdrawalParams" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/wallet/withdrawal/list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "wallet" ], "summary": "获取提现记录-新", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "page_size", "in": "query" }, { "type": "integer", "name": "wallet_type", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.Withdrawal" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } } }, "definitions": { "model.Account": { "type": "object", "properties": { "account_name": { "description": "户名", "type": "string" }, "address": { "description": "收款人地址", "type": "string" }, "appid": { "description": "应用ID", "type": "string" }, "bank_code": { "description": "收款行", "type": "string" }, "card_number": { "description": "银行卡号", "type": "string" }, "country": { "description": "国家/地区", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "currency": { "description": "币种 USD:美元", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "idCard": { "type": "string" }, "is_default": { "description": "是否为默认 0:非默认 1:默认", "type": "boolean" }, "phone": { "type": "string" }, "platform": { "description": "平台 saller(买家端) / customer(客户端) / influencer(网红端)", "type": "string" }, "sort": { "description": "排序值", "type": "integer" }, "swift_code": { "description": "银行国际代码", "type": "string" }, "type": { "description": "类型 1:paypal 2:银行卡", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.BatchDeliverList": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "courier": { "description": "快递公司", "type": "string" }, "courierLink": { "description": "快递链接", "type": "string" }, "courierNumber": { "description": "快递单号", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "orderID": { "description": "订单号", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "状态 1-发货成功 2-发货失败", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.BillFund": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "balance": { "description": "余额", "type": "number" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "pay_id": { "description": "支付id", "type": "string" }, "platform": { "description": "平台 seller", "type": "string" }, "price": { "description": "价格", "type": "number" }, "related_id": { "description": "关联id 任务id", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "状态 1:进行中 2:已完成 3:已失败", "type": "integer" }, "title": { "description": "账单标题", "type": "string" }, "transaction_id": { "description": "交易编号", "type": "string" }, "transaction_type": { "description": "类型 1-支出 2-收入", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.BillList": { "type": "object", "properties": { "account": { "description": "收款账户(提现)", "type": "string" }, "amount": { "description": "数量", "type": "integer" }, "appid": { "description": "应用ID", "type": "string" }, "balance": { "description": "余额", "type": "number" }, "check_status": { "description": "审核状态 0:待审核 1:审核通过 2:审核未通过", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "order_id": { "description": "关联订单id", "type": "string" }, "platform": { "description": "平台 saller / customer / influencer", "type": "string" }, "price": { "description": "价格", "type": "number" }, "receipt": { "description": "是否已到账 1-是 2-否 3-已取消付款", "type": "integer" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "类型 1-支出 2-收入", "type": "integer" }, "title": { "description": "账单标题", "type": "string" }, "transaction_id": { "description": "交易编号", "type": "string" }, "type": { "description": "类型 1-佣金 2-订单 3-提现", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" }, "withd_id": { "description": "提现id", "type": "string" }, "withdrawalStatus": { "description": "提现状态 0-提现中 1-提现完成 2-提现失败", "type": "integer" } } }, "model.Breadcrumb": { "type": "object", "properties": { "id": { "type": "integer" }, "is_leaf": { "description": "是否叶子分类", "type": "boolean" }, "name": { "type": "string" }, "pid": { "description": "父id", "type": "integer" } } }, "model.Chain": { "type": "object", "properties": { "address": { "description": "合约地址", "type": "string" } } }, "model.Coordinate": { "type": "object", "properties": { "x": { "type": "string" }, "y": { "type": "number" } } }, "model.CoordinateData": { "type": "object", "properties": { "values": { "description": "坐标中的点", "type": "array", "items": { "$ref": "#/definitions/model.Coordinate" } }, "x": { "description": "x坐标取值数组", "type": "array", "items": { "type": "string" } }, "y": { "description": "y坐标取值数组 组件自动", "type": "array", "items": { "type": "number" } } } }, "model.CoordinateFormat": { "type": "object", "properties": { "key": { "description": "唯一键", "type": "string" }, "label": { "description": "显示名称", "type": "string" } } }, "model.InfluencerUserClaimView": { "type": "object", "properties": { "claim_no": { "type": "string" }, "nick_name": { "description": "昵称", "type": "string" }, "phone": { "description": "电话", "type": "string" }, "uuid": { "description": "用户uuid", "type": "string" } } }, "model.InfluencerUserDesc": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "avatar": { "description": "头像", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "email": { "description": "用户邮箱", "type": "string" }, "forbidden_operation": { "description": "禁用操作人", "type": "string" }, "forbidden_reason": { "description": "禁用原因", "type": "string" }, "forbidden_time": { "description": "禁用时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "id_forbidden": { "description": "是否禁用", "type": "boolean" }, "nickName": { "description": "昵称", "type": "string" }, "phone": { "description": "电话", "type": "string" }, "platform": { "description": "平台及地址" }, "tags": { "description": "个人标签", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "uuid": { "description": "用户uuid编码", "type": "string" } } }, "model.InfluencerUserView": { "type": "object", "properties": { "nick_name": { "description": "昵称", "type": "string" }, "phone": { "description": "电话", "type": "string" }, "uuid": { "description": "用户uuid", "type": "string" } } }, "model.Meta": { "type": "object", "properties": { "closeTab": { "description": "自动关闭tab", "type": "boolean" }, "defaultMenu": { "description": "是否是基础路由(开发中)", "type": "boolean" }, "icon": { "description": "菜单图标", "type": "string" }, "keepAlive": { "description": "是否缓存", "type": "boolean" }, "title": { "description": "菜单名", "type": "string" } } }, "model.MissionClaimAddress": { "type": "object", "properties": { "address_id": { "description": "地址id", "type": "integer" }, "appid": { "description": "应用ID", "type": "string" }, "bldg": { "description": "apt,ste,bldg", "type": "string" }, "city": { "description": "city", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "default": { "description": "是否默认地址 1-是 2-否", "type": "integer" }, "firstName": { "description": "first name", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "lastName": { "description": "last name", "type": "string" }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "order_id": { "description": "订单号", "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "platform": { "description": "平台 saller(买家端) / customer(客户端) / influencer(网红端)", "type": "string" }, "state": { "description": "state", "type": "string" }, "street": { "description": "street", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "type": "string" }, "zipCode": { "description": "zip code", "type": "string" } } }, "model.MissionClaimDetail": { "type": "object", "properties": { "achieve_num": { "description": "完成数", "type": "integer" }, "appid": { "description": "应用ID", "type": "string" }, "claim_no": { "description": "领取任务编号", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "hire_money": { "description": "佣金", "type": "number" }, "id": { "description": "主键ID", "type": "integer" }, "influencer": { "description": "网红信息", "allOf": [ { "$ref": "#/definitions/model.InfluencerUserView" } ] }, "mission": { "description": "关联任务", "allOf": [ { "$ref": "#/definitions/model.MissionDetail" } ] }, "mission_id": { "description": "任务id", "type": "integer" }, "order": { "description": "任务订单", "allOf": [ { "$ref": "#/definitions/model.MissionClaimOrderInfo" } ] }, "status": { "description": "状态 1:已领取待发货 2:已发货 3:已收货推广中", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "works": { "description": "发布作品", "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimWorks" } } } }, "model.MissionClaimInfluencer": { "type": "object", "properties": { "achieve_num": { "description": "完成数", "type": "integer" }, "appid": { "description": "应用ID", "type": "string" }, "claim_no": { "description": "领取任务编号", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "hire_money": { "description": "佣金", "type": "number" }, "id": { "description": "主键ID", "type": "integer" }, "influencer": { "description": "网红信息", "allOf": [ { "$ref": "#/definitions/model.InfluencerUserDesc" } ] }, "mission_id": { "description": "任务id", "type": "integer" }, "status": { "description": "状态 1:已领取待发货 2:已发货 3:已收货推广中", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "video": { "description": "上传视频", "allOf": [ { "$ref": "#/definitions/model.MissionClaimVideo" } ] }, "works": { "description": "发布作品", "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimWorks" } } } }, "model.MissionClaimOrderDetail": { "type": "object", "properties": { "address": { "description": "任务订单地址", "allOf": [ { "$ref": "#/definitions/model.MissionClaimAddress" } ] }, "appid": { "description": "应用ID", "type": "string" }, "confirm_time": { "description": "收货时间", "type": "string" }, "courier": { "description": "快递公司", "type": "string" }, "courier_number": { "description": "快递单号", "type": "string" }, "courier_url": { "description": "快递查询地址", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "goods": { "description": "任务订单商品", "allOf": [ { "$ref": "#/definitions/model.MissionClaimOrderGoods" } ] }, "id": { "description": "主键ID", "type": "integer" }, "mission_claim": { "description": "任务领取记录", "allOf": [ { "$ref": "#/definitions/model.MissionClaimDetail" } ] }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "number": { "description": "数量", "type": "integer" }, "order_id": { "description": "订单号", "type": "string" }, "send_time": { "description": "发货时间", "type": "string" }, "sku_no": { "description": "sku编号", "type": "string" }, "spu_no": { "description": "spu编号", "type": "string" }, "status": { "description": "订单状态 2:待发货 3:已发货", "type": "integer" }, "track_id": { "description": "track表id", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.MissionClaimOrderGoods": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "image": { "description": "规格图片url", "type": "string" }, "order_id": { "description": "订单号", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "sku编号", "type": "string" }, "specs": { "description": "规格", "type": "string" }, "title": { "description": "名称", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.MissionClaimOrderInfo": { "type": "object", "properties": { "courier": { "description": "快递公司", "type": "string" }, "courier_number": { "description": "快递单号", "type": "string" }, "courier_url": { "description": "快递查询地址", "type": "string" }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "order_goods": { "description": "订单商品信息", "allOf": [ { "$ref": "#/definitions/model.MissionClaimOrderGoods" } ] }, "order_id": { "description": "订单号", "type": "string" }, "send_time": { "description": "发货时间", "type": "string" }, "status": { "description": "订单状态 2:待发货 3:已发货", "type": "integer" } } }, "model.MissionClaimVideo": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "cover": { "description": "视频封面", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "mission_id": { "description": "任务ID", "type": "integer" }, "remark": { "type": "string" }, "reward_status": { "description": "奖励发放状态 1:未发放 2:已发放", "type": "integer" }, "source_type": { "description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传", "type": "integer" }, "status": { "description": "状态 1:待审核 2:审核通过 3:审核不通过", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "video_url": { "description": "视频上传地址", "type": "string" } } }, "model.MissionClaimWorks": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "homepage": { "description": "作品主页地址", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "image": { "description": "作品凭证截图", "type": "string" }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "type": { "description": "平台 1:ins 2:Pinterest 3:tk 4:Twitter 5:Facebook 6:Reddit", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "video_url": { "description": "视频上传地址", "type": "string" } } }, "model.MissionDetail": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "claim_days": { "description": "任务完成天数", "type": "integer" }, "claim_demands": { "description": "任务拍摄要求", "type": "string" }, "claim_num": { "description": "接任务人数", "type": "integer" }, "claim_stock": { "description": "可接任务库存", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "description": { "description": "描述/卖点", "type": "string" }, "end_time": { "description": "任务结束时间", "type": "string" }, "goods": { "description": "商品信息", "allOf": [ { "$ref": "#/definitions/model.TbGoods4List" } ] }, "goods_status": { "description": "关联商品状态 1:正常 2:已下架", "type": "integer" }, "has_sample": { "description": "是否有样品 0:没有 1:有", "type": "integer" }, "has_video": { "description": "是否有视频素材 0:没有 1:有", "type": "integer" }, "hire_money": { "description": "hire_type==1 佣金金额", "type": "number" }, "hire_money_expect": { "description": "预计佣金描述", "type": "string" }, "hire_ratio": { "description": "hire_type==2 抽成比例", "type": "number" }, "hire_type": { "description": "佣金类型 1:固定佣金 2:比例抽成", "type": "integer" }, "id": { "description": "主键ID", "type": "integer" }, "num": { "description": "商品数量", "type": "integer" }, "order_num": { "description": "订单数", "type": "integer" }, "release_channels": { "description": "发布渠道", "type": "string" }, "release_country": { "description": "发布国家", "type": "string" }, "sample_num": { "description": "样品数量", "type": "integer" }, "start_time": { "description": "任务起始时间", "type": "string" }, "status": { "description": "状态 1:未开始 2:进行中 3:已结束", "type": "integer" }, "store_no": { "description": "店铺编号", "type": "string" }, "title": { "description": "标题", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "video_channel_ids": { "description": "视频发布渠道,多个渠道英文逗号连接", "type": "string" }, "video_country_id": { "description": "视频发布国家", "type": "string" }, "video_url": { "type": "string" } } }, "model.OrderAddress": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "bldg": { "description": "apt,ste,bldg", "type": "string" }, "city": { "description": "city", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "default": { "description": "是否默认地址 1-是 2-否", "type": "integer" }, "firstName": { "description": "first name", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "lastName": { "description": "last name", "type": "string" }, "orderID": { "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "platform": { "description": "平台 saller(买家端) / customer(客户端) / influencer(网红端)", "type": "string" }, "state": { "description": "state", "type": "string" }, "street": { "description": "street", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "type": "string" }, "zipCode": { "description": "zip code", "type": "string" } } }, "model.OrderDeliver": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "courier": { "description": "快递公司", "type": "string" }, "courierLink": { "description": "快递链接", "type": "string" }, "courierNumber": { "description": "快递单号", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "orderID": { "description": "订单号", "type": "string" }, "track_id": { "description": "track表 id", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.OrderDeliverDesc": { "type": "object", "properties": { "courier": { "description": "快递公司", "type": "string" }, "courierLink": { "description": "快递链接", "type": "string" }, "courierNumber": { "description": "快递单号", "type": "string" }, "orderID": { "description": "订单号", "type": "string" } } }, "model.OrderDetail": { "type": "object", "properties": { "IAmount": { "description": "网红佣金", "type": "string" }, "SAmount": { "description": "入账", "type": "string" }, "address": { "description": "地址", "allOf": [ { "$ref": "#/definitions/model.OrderAddress" } ] }, "appid": { "description": "应用ID", "type": "string" }, "captureID": { "description": "paypal收款确认id", "type": "string" }, "chain": { "description": "区块链", "allOf": [ { "$ref": "#/definitions/model.Chain" } ] }, "code": { "description": "网红码?", "type": "string" }, "commodID": { "description": "商品id", "type": "integer" }, "confirmTime": { "description": "收货时间", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "customer": { "description": "卖家信息", "allOf": [ { "$ref": "#/definitions/model.UserSimple" } ] }, "deliver": { "description": "发货信息", "allOf": [ { "$ref": "#/definitions/model.OrderDeliver" } ] }, "goods": { "description": "商品信息", "allOf": [ { "$ref": "#/definitions/model.OrderGoodsDetail" } ] }, "id": { "description": "主键ID", "type": "integer" }, "number": { "description": "数量", "type": "integer" }, "orderID": { "description": "订单号", "type": "string" }, "paidPrice": { "description": "实付价格", "type": "number" }, "payTime": { "description": "付款时间", "type": "string" }, "price": { "description": "商品价格", "type": "number" }, "sendTime": { "description": "发货时间", "type": "string" }, "sku_no": { "description": "商品规格编号", "type": "string" }, "status": { "description": "订单状态 1-待付款 2-待发货 3-已发货 4-已完成 5-已取消", "type": "integer" }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "类型 1-普通订单 2-预售订单", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.OrderGoodsDetail": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "content": { "description": "详情", "type": "string" }, "content_text": { "description": "详情-文字", "type": "string" }, "cover": { "description": "封面图", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "goods_specs": { "description": "商品规格", "type": "array", "items": { "$ref": "#/definitions/model.OrderGoodsSpecs" } }, "id": { "description": "主键ID", "type": "integer" }, "images": { "description": "图片", "type": "string" }, "orderID": { "description": "订单id", "type": "string" }, "price_max": { "description": "最高规格价格", "type": "number" }, "price_min": { "description": "最低规格价格", "type": "number" }, "retail_price": { "description": "吊牌价(零售指导价)", "type": "number" }, "sales": { "description": "总销售量", "type": "integer" }, "sales_30": { "description": "30天销售量", "type": "integer" }, "sku_no": { "description": "商品规格编号", "type": "string" }, "specs": { "description": "规格", "type": "string" }, "spu_no": { "description": "编号", "type": "string" }, "store_no": { "description": "店铺编号", "type": "string" }, "title": { "description": "名称", "type": "string" }, "title_eng": { "description": "英文名称", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.OrderGoodsSpecs": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "goods_id": { "description": "spu id", "type": "integer" }, "goods_no": { "description": "商品编号", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "image": { "description": "规格图片url", "type": "string" }, "orderGoodsId": { "type": "integer" }, "orderID": { "description": "订单id", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "商品规格编号", "type": "string" }, "specs": { "description": "规格", "type": "string" }, "spu_no": { "description": "商品编号", "type": "string" }, "store_no": { "description": "店铺编号", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.OrderList": { "type": "object", "properties": { "IAmount": { "description": "网红佣金", "type": "string" }, "SAmount": { "description": "入账", "type": "string" }, "address": { "description": "地址", "allOf": [ { "$ref": "#/definitions/model.OrderAddress" } ] }, "appid": { "description": "应用ID", "type": "string" }, "captureID": { "description": "paypal收款确认id", "type": "string" }, "code": { "description": "网红码?", "type": "string" }, "commodID": { "description": "商品id", "type": "integer" }, "confirmTime": { "description": "收货时间", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "customerPhone": { "description": "买家手机", "type": "string" }, "deliver": { "description": "发货信息", "allOf": [ { "$ref": "#/definitions/model.OrderDeliver" } ] }, "goods": { "description": "商品信息", "allOf": [ { "$ref": "#/definitions/model.OrderGoodsDetail" } ] }, "id": { "description": "主键ID", "type": "integer" }, "influencer": { "description": "网红信息", "allOf": [ { "$ref": "#/definitions/model.InfluencerUserClaimView" } ] }, "number": { "description": "数量", "type": "integer" }, "orderID": { "description": "订单号", "type": "string" }, "paidPrice": { "description": "实付价格", "type": "number" }, "payTime": { "description": "付款时间", "type": "string" }, "price": { "description": "商品价格", "type": "number" }, "sendTime": { "description": "发货时间", "type": "string" }, "sku_no": { "description": "商品规格编号", "type": "string" }, "status": { "description": "订单状态 1-待付款 2-待发货 3-已发货 4-已完成 5-已取消", "type": "integer" }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "类型 1-普通订单 2-预售订单", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.OrderPostSaleDetail": { "type": "object", "properties": { "amount": { "description": "退款金额", "type": "number" }, "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "examine_time": { "description": "审核时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "images": { "description": "图片", "type": "string" }, "order": { "$ref": "#/definitions/model.OrderDetail" }, "orderId": { "description": "订单号", "type": "string" }, "reason": { "description": "退款原因", "type": "string" }, "reason_desc": { "description": "退款原因描述", "type": "string" }, "refundStatus": { "description": "退款状态 1:退款中 2:退款成功 3:退款失败", "type": "integer" }, "refund_time": { "description": "退款时间", "type": "string" }, "remark": { "description": "原因", "type": "string" }, "status": { "description": "处理状态 1:已提交 2:已处理 3:已拒绝 4:已撤回", "type": "integer" }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "售后类型 1:仅退款", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户id", "type": "string" }, "videos": { "description": "视频", "type": "string" } } }, "model.Platform": { "type": "object", "properties": { "auth_msg": { "description": "认证信息", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "image": { "description": "图片", "type": "string" }, "is_auth": { "description": "是否认证 0:未认证 1:已认证 2:认证失败", "type": "boolean" }, "platform": { "description": "平台", "type": "string" }, "platformName": { "description": "平台名称", "type": "string" }, "url": { "description": "主页地址", "type": "string" } } }, "model.PutDeliver": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/model.OrderDeliverDesc" } } } }, "model.RankDataObj": { "type": "object", "properties": { "format": { "description": "排名内容", "allOf": [ { "$ref": "#/definitions/model.CoordinateFormat" } ] }, "rank": { "description": "名次", "type": "integer" }, "value": { "description": "值", "type": "number" } } }, "model.SellerStore": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "email": { "description": "店铺联系email(注册账号email)", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "1:个人店铺", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.SourceFile": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "fileLen": { "description": "文件时长", "type": "integer" }, "fileName": { "description": "文件名称", "type": "string" }, "fileSize": { "description": "文件大小", "type": "integer" }, "fileUrl": { "description": "文件在服务器端的地址", "type": "string" }, "height": { "description": "尺寸高", "type": "integer" }, "id": { "description": "主键ID", "type": "integer" }, "level": { "description": "文件层级", "type": "integer" }, "md5": { "description": "文件md5", "type": "string" }, "parentId": { "description": "父级id", "type": "integer" }, "processStatus": { "description": "转码状态 0-未转码 1-已转码 2-转码失败", "type": "integer" }, "ratio": { "description": "比例", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "resolution": { "description": "分辨率 逗号隔开", "type": "string" }, "status": { "description": "状态 1-已上传 0-正在上传 2-上传失败", "type": "string" }, "type": { "description": "文件类型 1=图片 2=视频 3=文件 4-文件夹", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "urlMd5": { "description": "文件url md5", "type": "string" }, "userId": { "description": "用户id", "type": "string" }, "width": { "description": "尺寸宽", "type": "integer" } } }, "model.SourceFileTreeList": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "children": { "type": "array", "items": { "$ref": "#/definitions/model.SourceFileTreeList" } }, "createdAt": { "description": "创建时间", "type": "string" }, "fileName": { "description": "文件名称", "type": "string" }, "fileSize": { "description": "文件大小", "type": "integer" }, "fileUrl": { "description": "文件在服务器端的地址", "type": "string" }, "height": { "description": "尺寸高", "type": "integer" }, "id": { "description": "主键ID", "type": "integer" }, "parentId": { "description": "父级id", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "width": { "description": "尺寸宽", "type": "integer" } } }, "model.SysApi": { "type": "object", "properties": { "apiGroup": { "description": "api组", "type": "string" }, "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "description": { "description": "api中文描述", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "method": { "description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE", "type": "string" }, "organization": { "description": "组织", "type": "string" }, "path": { "description": "api路径", "type": "string" }, "type": { "description": "类型 admin-运营端 seller-商家端", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.SysAuthority": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "authorityDesc": { "description": "角色描述", "type": "string" }, "authorityId": { "description": "角色ID", "type": "integer" }, "authorityName": { "description": "角色名", "type": "string" }, "children": { "type": "array", "items": { "$ref": "#/definitions/model.SysAuthority" } }, "defaultRouter": { "description": "默认菜单(默认dashboard)", "type": "string" }, "menus": { "type": "array", "items": { "$ref": "#/definitions/model.SysBaseMenu" } }, "organization": { "description": "组织", "type": "string" }, "parentId": { "description": "父角色ID", "type": "string" }, "type": { "description": "类型 admin-运营端 seller-商家端", "type": "string" } } }, "model.SysBaseMenu": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "authoritys": { "type": "array", "items": { "$ref": "#/definitions/model.SysAuthority" } }, "children": { "type": "array", "items": { "$ref": "#/definitions/model.SysBaseMenu" } }, "component": { "description": "对应前端文件路径", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "group": { "description": "路由组", "type": "string" }, "hidden": { "description": "是否在列表隐藏", "type": "boolean" }, "id": { "description": "主键ID", "type": "integer" }, "meta": { "description": "附加属性", "allOf": [ { "$ref": "#/definitions/model.Meta" } ] }, "name": { "description": "路由name", "type": "string" }, "owner": { "description": "组织所属", "type": "string" }, "parameters": { "type": "array", "items": { "$ref": "#/definitions/model.SysBaseMenuParameter" } }, "parentId": { "description": "父菜单ID", "type": "string" }, "path": { "description": "路由path", "type": "string" }, "sort": { "description": "排序标记", "type": "integer" }, "type": { "description": "类型 admin-运营端 seller-商家端", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.SysBaseMenuParameter": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "key": { "description": "地址栏携带参数的key", "type": "string" }, "sysBaseMenuID": { "type": "integer" }, "type": { "description": "地址栏携带参数为params还是query", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "value": { "description": "地址栏携带参数的值", "type": "string" } } }, "model.SysMenuApi": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "authoritys": { "type": "array", "items": { "$ref": "#/definitions/model.SysAuthority" } }, "children": { "type": "array", "items": { "$ref": "#/definitions/model.SysApi" } }, "component": { "description": "对应前端文件路径", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "group": { "description": "路由组", "type": "string" }, "hidden": { "description": "是否在列表隐藏", "type": "boolean" }, "id": { "description": "主键ID", "type": "integer" }, "meta": { "description": "附加属性", "allOf": [ { "$ref": "#/definitions/model.Meta" } ] }, "name": { "description": "路由name", "type": "string" }, "owner": { "description": "组织所属", "type": "string" }, "parameters": { "type": "array", "items": { "$ref": "#/definitions/model.SysBaseMenuParameter" } }, "parentId": { "description": "父菜单ID", "type": "string" }, "path": { "description": "路由path", "type": "string" }, "sort": { "description": "排序标记", "type": "integer" }, "type": { "description": "类型 admin-运营端 seller-商家端", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.TbAttributeDetail": { "type": "object", "properties": { "attribute_id": { "description": "规格属性id", "type": "integer" }, "value": { "type": "string" } } }, "model.TbCategoryTree": { "type": "object", "properties": { "children": { "description": "子节点", "type": "array", "items": { "$ref": "#/definitions/model.TbCategoryTree" } }, "id": { "type": "integer" }, "is_leaf": { "description": "是否叶子分类", "type": "boolean" }, "name": { "description": "名称", "type": "string" }, "pid": { "description": "父id", "type": "integer" } } }, "model.TbGoods4List": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "cover": { "description": "封面图(未使用)", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "images": { "description": "图片列表", "type": "string" }, "price_max": { "description": "最高规格价格", "type": "number" }, "price_min": { "description": "最低规格价格", "type": "number" }, "retail_price": { "description": "吊牌价(零售指导价)", "type": "number" }, "sales": { "description": "总销售量", "type": "integer" }, "sales_30": { "description": "30天销售量", "type": "integer" }, "spu_no": { "description": "编号", "type": "string" }, "status": { "description": "1:上架 2:下架 3:售罄", "type": "integer" }, "stock": { "description": "总库存", "type": "integer" }, "tags": { "description": "标签", "type": "string" }, "title": { "description": "标题", "type": "string" }, "title_eng": { "description": "英文标题", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.TbGoodsDetail": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "breadcrumb": { "description": "分类面包屑", "type": "array", "items": { "$ref": "#/definitions/model.Breadcrumb" } }, "category_id": { "description": "分类id", "type": "integer" }, "content": { "description": "商品详情", "type": "string" }, "content_text": { "description": "商品详情-文字", "type": "string" }, "cover": { "description": "封面图(未使用)", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "images": { "description": "图片", "type": "string" }, "online": { "description": "上下架状态 on/off", "type": "string" }, "retail_price": { "description": "吊牌价(零售指导价)", "type": "number" }, "sales": { "type": "integer" }, "specs": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/model.TbGoodsSpecsDetail" } }, "spu_no": { "description": "编号", "type": "string" }, "stock": { "description": "总库存", "type": "integer" }, "tags": { "description": "标签", "type": "string" }, "title": { "description": "标题", "type": "string" }, "title_eng": { "description": "英文标题", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.TbGoodsSpecsDetail": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "attributes": { "description": "规格详情", "type": "array", "items": { "$ref": "#/definitions/model.TbAttributeDetail" } }, "code": { "description": "商品编码", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "goods_id": { "type": "integer" }, "goods_no": { "description": "商品编号", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "image": { "description": "规格图片url", "type": "string" }, "online": { "description": "标签", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "商品编码", "type": "string" }, "specs": { "description": "规格", "type": "string" }, "stock": { "description": "库存", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "model.User": { "type": "object", "properties": { "appid": { "description": "用户所属应用", "type": "string" }, "authorities": { "type": "array", "items": { "$ref": "#/definitions/model.SysAuthority" } }, "authority": { "$ref": "#/definitions/model.SysAuthority" }, "authority_id": { "description": "用户角色ID", "type": "integer" }, "avatar": { "description": "头像", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "douyin": { "description": "抖音", "type": "string" }, "email": { "description": "用户邮箱", "type": "string" }, "facebook": { "description": "facebook", "type": "string" }, "forbidden_operation": { "description": "禁用操作人", "type": "string" }, "forbidden_reason": { "description": "禁用原因", "type": "string" }, "forbidden_time": { "description": "禁用时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "id_forbidden": { "description": "是否禁用", "type": "boolean" }, "instagram": { "description": "instagram", "type": "string" }, "nick_name": { "description": "昵称", "type": "string" }, "password": { "description": "用户密码", "type": "string" }, "password_salt": { "description": "用户密码盐", "type": "string" }, "phone": { "description": "用户手机号", "type": "string" }, "phone_code": { "description": "用户手机号国家代码", "type": "string" }, "platform": { "description": "平台及地址逗号隔开 eg:(ins:https://baidu.com/user/1,qq:12345678)", "type": "string" }, "relation_id": { "description": "用户关联", "type": "string" }, "source": { "description": "用户来源", "type": "string" }, "tags": { "description": "个人标签", "type": "string" }, "type": { "description": "用户类型(随用户所属而定)", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "username": { "description": "用户登录名", "type": "string" }, "uuid": { "description": "用户uuid编码", "type": "string" } } }, "model.UserSimple": { "type": "object", "properties": { "avatar": { "description": "头像", "type": "string" }, "created_at": { "description": "创建时间字符串", "type": "string" }, "email": { "description": "用户邮箱", "type": "string" }, "nick_name": { "description": "昵称", "type": "string" }, "order_count": { "description": "订单数量", "type": "integer" }, "phone": { "description": "用户手机号", "type": "string" }, "platform": { "description": "平台", "type": "array", "items": { "$ref": "#/definitions/model.Platform" } }, "refund_count": { "description": "退款数量", "type": "integer" }, "tags": { "description": "个人标签", "type": "string" }, "uuid": { "description": "用户uuid编码", "type": "string" } } }, "model.Wallet": { "type": "object", "properties": { "accountName": { "description": "户名", "type": "string" }, "appid": { "description": "应用ID", "type": "string" }, "balance": { "description": "可用余额", "type": "number" }, "createdAt": { "description": "创建时间", "type": "string" }, "fund": { "description": "营销账户", "type": "number" }, "fundLock": { "description": "营销账户-锁定金额", "type": "number" }, "id": { "description": "主键ID", "type": "integer" }, "idCard": { "description": "身份证", "type": "string" }, "platform": { "description": "平台 saller / customer / influencer", "type": "string" }, "state": { "description": "状态 0:正常 1:限制提现 2:禁止提现", "type": "integer" }, "transitBalance": { "description": "在途余额", "type": "number" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "type": "string" } } }, "model.Withdrawal": { "type": "object", "properties": { "account_name": { "description": "户名", "type": "string" }, "account_type": { "description": "账户类型 1:paypal 2:银行卡", "type": "integer" }, "address": { "description": "收款人地址", "type": "string" }, "amount": { "description": "金额", "type": "number" }, "appid": { "description": "应用ID", "type": "string" }, "bank_code": { "description": "收款行", "type": "string" }, "bill_no": { "description": "账单号", "type": "string" }, "card_number": { "description": "银行卡号", "type": "string" }, "check_status": { "description": "审核状态 0:待审核 1:审核通过 2:审核未通过", "type": "string" }, "check_time": { "description": "审核时间", "type": "string" }, "country": { "description": "国家/地区", "type": "string" }, "create_by": { "description": "创建人/店铺", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "currency": { "description": "币种 USD:美元", "type": "string" }, "flow_no": { "description": "流水号", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "pay_id": { "description": "支付id", "type": "string" }, "platform": { "description": "平台 1:网红 2:商家", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "提现状态 0:进行中 1:成功 2:失败", "type": "string" }, "swift_code": { "description": "银行国际代码", "type": "string" }, "title": { "description": "标题", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "wallet_type": { "description": "钱包类型 1:余额钱包 2:营销账户钱包", "type": "integer" } } }, "request.AddAccount": { "type": "object", "properties": { "accountName": { "description": "户名", "type": "string" }, "address": { "description": "收款人地址", "type": "string" }, "bank_code": { "description": "银行编码", "type": "string" }, "card_number": { "description": "银行卡号", "type": "string" }, "country": { "description": "国家/地区", "type": "string" }, "currency": { "description": "币种 USD: 美元", "type": "string" }, "is_default": { "description": "是否默认", "type": "boolean" }, "swift_code": { "description": "swift编码", "type": "string" } } }, "request.AddAuthorityRole": { "type": "object", "properties": { "authorityId": { "type": "integer" }, "roleId": { "type": "integer" } } }, "request.AddMenuAuthorityInfo": { "type": "object", "properties": { "authorityId": { "description": "角色ID", "type": "integer" }, "menus": { "type": "array", "items": { "$ref": "#/definitions/model.SysBaseMenu" } } } }, "request.BatchOnline": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } }, "online": { "description": "上下架状态 on/off", "type": "string" } } }, "request.BusinessSearch": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "email": { "description": "店铺联系email(注册账号email)", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "page": { "description": "页码", "type": "integer" }, "page_size": { "description": "每页大小", "type": "integer" }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "1:个人店铺", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "request.CasbinInReceive": { "type": "object", "properties": { "authorityId": { "description": "权限id", "type": "integer" }, "casbinInfos": { "type": "array", "items": { "$ref": "#/definitions/request.CasbinInfo" } } } }, "request.CasbinInfo": { "type": "object", "properties": { "method": { "description": "方法", "type": "string" }, "path": { "description": "路径", "type": "string" } } }, "request.CreateMission": { "type": "object", "properties": { "claim_days": { "description": "任务完成天数", "type": "integer" }, "claim_description": { "description": "任务拍摄要求", "type": "string" }, "claim_stock": { "description": "可接任务库存", "type": "integer" }, "description": { "description": "描述/卖点", "type": "string" }, "end_time": { "description": "任务结束时间", "type": "string" }, "goods_id": { "description": "商品id", "type": "integer" }, "has_sample": { "description": "是否有样品 0:没有 1:有", "type": "integer" }, "has_video": { "description": "是否有视频素材 0:没有 1:有", "type": "integer" }, "hire_money": { "description": "hire_type==1 佣金金额", "type": "number" }, "hire_ratio": { "description": "hire_type==2 抽成比例", "type": "number" }, "hire_type": { "description": "佣金类型 1:固定佣金 2:比例抽成", "type": "integer" }, "num": { "description": "数量", "type": "integer" }, "sample_num": { "description": "样品数量", "type": "integer" }, "start_time": { "description": "任务起始时间", "type": "string" }, "title": { "description": "名称", "type": "string" }, "video_channel_ids": { "description": "视频发布渠道,多个渠道英文逗号连接", "type": "string" }, "video_country_id": { "description": "视频发布国家", "type": "string" }, "video_url": { "type": "string" } } }, "request.CreateSourceFile": { "type": "object", "properties": { "file_name": { "description": "标题", "type": "string" }, "parent_id": { "description": "父级id", "type": "integer" } } }, "request.CreateTbGoods": { "type": "object", "properties": { "category_id": { "description": "分类id", "type": "integer" }, "content": { "description": "商品详情-图片", "type": "string" }, "content_text": { "description": "商品详情-文字", "type": "string" }, "images": { "description": "商品图片", "type": "string" }, "online": { "description": "上下架状态 on/off", "type": "string" }, "retail_price": { "description": "吊牌价(零售指导价)", "type": "number" }, "specs": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/request.CreateTbGoodsSpec" } }, "tags": { "description": "标签", "type": "string" }, "title": { "description": "商品标题", "type": "string" }, "title_eng": { "description": "商品标题英文", "type": "string" } } }, "request.CreateTbGoodsSpec": { "type": "object", "properties": { "attributes": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/request.TbGoodsAttributeValue" } }, "goods_no": { "description": "商品编号", "type": "string" }, "image": { "description": "sku图片", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "商品编码", "type": "string" }, "stock": { "description": "库存", "type": "integer" } } }, "request.DeleteAccount": { "type": "object", "properties": { "code": { "description": "验证码", "type": "string" }, "id": { "description": "主键", "type": "integer" }, "phone": { "description": "手机号", "type": "string" } } }, "request.Empty": { "type": "object" }, "request.ExamineOrderPostSale": { "type": "object", "properties": { "id": { "description": "申请记录id", "type": "integer" }, "remark": { "description": "原因", "type": "string" }, "status": { "description": "审核状态 1:通过 2:不通过", "type": "integer" } } }, "request.FundRecharge": { "type": "object", "properties": { "amount": { "description": "充值金额", "type": "number" }, "payMode": { "description": "支付方式 1-paypal", "type": "integer" } } }, "request.GetAuthorityId": { "type": "object", "properties": { "appid": { "type": "string" }, "authorityId": { "description": "角色ID", "type": "integer" } } }, "request.GetById": { "type": "object", "properties": { "id": { "description": "主键ID", "type": "number" } } }, "request.IdReq": { "type": "object", "properties": { "id": { "description": "id", "type": "integer" } } }, "request.IdsReq": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } } } }, "request.MissionClaimOrderSend": { "type": "object", "properties": { "courier": { "description": "快递公司", "type": "string" }, "courier_number": { "description": "快递单号", "type": "string" }, "courier_url": { "description": "快递查询地址", "type": "string" }, "order_id": { "description": "订单编号", "type": "string" } } }, "request.PageInfo": { "type": "object", "properties": { "page": { "description": "页码", "type": "integer" }, "page_size": { "description": "每页大小", "type": "integer" } } }, "request.ParamsUploadDesc": { "type": "object", "properties": { "file": { "description": "文件", "type": "string" } } }, "request.RecoverPassword": { "type": "object", "properties": { "email": { "description": "email", "type": "string" }, "password": { "description": "password", "type": "string" }, "phone": { "description": "phone", "type": "string" }, "phone_code": { "description": "phone_code", "type": "string" }, "sms_code": { "description": "sms_code", "type": "string" } } }, "request.SearchApiParams": { "type": "object", "properties": { "apiGroup": { "description": "api组", "type": "string" }, "appid": { "description": "应用ID", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "排序方式:升序false(默认)|降序true", "type": "boolean" }, "description": { "description": "api中文描述", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "method": { "description": "方法:创建POST(默认)|查看GET|更新PUT|删除DELETE", "type": "string" }, "orderKey": { "description": "排序", "type": "string" }, "organization": { "description": "组织", "type": "string" }, "page": { "description": "页码", "type": "integer" }, "page_size": { "description": "每页大小", "type": "integer" }, "path": { "description": "api路径", "type": "string" }, "type": { "description": "类型 admin-运营端 seller-商家端", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "request.SendEmail": { "type": "object", "properties": { "email": { "type": "string" } } }, "request.SendMessage": { "type": "object", "properties": { "phone": { "type": "string" }, "phone_code": { "description": "phone_code", "type": "string" }, "type": { "description": "1:登录验证码 2-解绑 3-绑定 4-提现", "type": "integer" } } }, "request.SendOrder": { "type": "object", "properties": { "courier": { "description": "快递公司", "type": "string" }, "courierLink": { "description": "快递链接", "type": "string" }, "courierNumber": { "description": "快递单号", "type": "string" }, "orderID": { "description": "订单号", "type": "string" } } }, "request.Sku": { "type": "object", "properties": { "id": { "description": "id", "type": "integer" }, "price": { "description": "价格", "type": "number" }, "stock": { "description": "库存", "type": "integer" } } }, "request.StatusParamInt": { "type": "object", "properties": { "id": { "type": "integer" }, "remark": { "description": "审核理由", "type": "string" }, "status": { "description": "状态 1:待审核 2:审核通过 3:审核不通过", "type": "integer" } } }, "request.StopMission": { "type": "object", "properties": { "id": { "type": "integer" }, "remark": { "type": "string" } } }, "request.TbGoodsAttributeValue": { "type": "object", "properties": { "attribute_id": { "description": "规格属性id", "type": "integer" }, "value": { "type": "string" } } }, "request.UpdateAuthorityRole": { "type": "object", "properties": { "authorityId": { "type": "integer" }, "roleId": { "type": "integer" } } }, "request.UpdateMission": { "type": "object", "properties": { "claim_days": { "description": "任务完成天数", "type": "integer" }, "claim_description": { "description": "任务拍摄要求", "type": "string" }, "claim_stock": { "description": "可接任务库存", "type": "integer" }, "description": { "description": "描述/卖点", "type": "string" }, "end_time": { "description": "任务结束时间", "type": "string" }, "goods_id": { "description": "商品id", "type": "integer" }, "has_sample": { "description": "是否有样品 0:没有 1:有", "type": "integer" }, "has_video": { "description": "是否有视频素材 0:没有 1:有", "type": "integer" }, "hire_money": { "description": "hire_type==1 佣金金额", "type": "number" }, "hire_ratio": { "description": "hire_type==2 抽成比例", "type": "number" }, "hire_type": { "description": "佣金类型 1:固定佣金 2:比例抽成", "type": "integer" }, "id": { "description": "id", "type": "integer" }, "num": { "description": "数量", "type": "integer" }, "sample_num": { "description": "样品数量", "type": "integer" }, "start_time": { "description": "任务起始时间", "type": "string" }, "title": { "description": "名称", "type": "string" }, "video_channel_ids": { "description": "视频发布渠道,多个渠道英文逗号连接", "type": "string" }, "video_country_id": { "description": "视频发布国家", "type": "string" }, "video_url": { "type": "string" } } }, "request.UpdateSku": { "type": "object", "properties": { "sku_list": { "type": "array", "items": { "$ref": "#/definitions/request.Sku" } } } }, "request.UpdateSourceFileStatusParams": { "type": "object", "properties": { "id": { "description": "主键", "type": "integer" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "状态 1-已上传 0-正在上传 2-上传失败", "type": "string" } } }, "request.UpdateTbGoods": { "type": "object", "properties": { "category_id": { "description": "分类id", "type": "integer" }, "content": { "description": "商品详情", "type": "string" }, "content_text": { "description": "商品详情-文字", "type": "string" }, "id": { "type": "integer" }, "images": { "description": "商品图片", "type": "string" }, "online": { "description": "上下架状态 on/off", "type": "string" }, "retail_price": { "description": "吊牌价(零售指导价)", "type": "number" }, "specs": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/request.UpdateTbGoodsSpec" } }, "tags": { "description": "标签", "type": "string" }, "title": { "description": "商品标题", "type": "string" }, "title_eng": { "description": "商品标题英文", "type": "string" } } }, "request.UpdateTbGoodsSpec": { "type": "object", "properties": { "attributes": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/request.TbGoodsAttributeValue" } }, "goods_no": { "description": "商品编号", "type": "string" }, "id": { "description": "id", "type": "integer" }, "image": { "description": "sku图片", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "商品编码", "type": "string" }, "stock": { "description": "库存", "type": "integer" } } }, "request.UserLogin": { "type": "object", "properties": { "appid": { "description": "应用id", "type": "string" }, "captcha": { "description": "验证码", "type": "string" }, "captcha_id": { "description": "验证码id", "type": "string" }, "email": { "description": "email", "type": "string" }, "password": { "description": "password", "type": "string" }, "phone": { "description": "phone", "type": "string" }, "phone_code": { "description": "phone_code", "type": "string" }, "sms_code": { "description": "sms_code", "type": "string" } } }, "request.UserRegister": { "type": "object", "properties": { "appid": { "description": "应用id", "type": "string" }, "email": { "description": "email", "type": "string" }, "password": { "description": "password", "type": "string" }, "phone": { "description": "phone", "type": "string" }, "phone_code": { "description": "phone_code", "type": "string" }, "sms_code": { "description": "sms_code", "type": "string" } } }, "request.UserSearch": { "type": "object", "properties": { "appid": { "description": "用户所属应用", "type": "string" }, "authorities": { "type": "array", "items": { "$ref": "#/definitions/model.SysAuthority" } }, "authority": { "$ref": "#/definitions/model.SysAuthority" }, "authority_id": { "description": "用户角色ID", "type": "integer" }, "avatar": { "description": "头像", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "douyin": { "description": "抖音", "type": "string" }, "email": { "description": "用户邮箱", "type": "string" }, "facebook": { "description": "facebook", "type": "string" }, "forbidden_operation": { "description": "禁用操作人", "type": "string" }, "forbidden_reason": { "description": "禁用原因", "type": "string" }, "forbidden_time": { "description": "禁用时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "id_forbidden": { "description": "是否禁用", "type": "boolean" }, "instagram": { "description": "instagram", "type": "string" }, "nick_name": { "description": "昵称", "type": "string" }, "page": { "description": "页码", "type": "integer" }, "page_size": { "description": "每页大小", "type": "integer" }, "password": { "description": "用户密码", "type": "string" }, "password_salt": { "description": "用户密码盐", "type": "string" }, "phone": { "description": "用户手机号", "type": "string" }, "phone_code": { "description": "用户手机号国家代码", "type": "string" }, "platform": { "description": "平台及地址逗号隔开 eg:(ins:https://baidu.com/user/1,qq:12345678)", "type": "string" }, "relation_id": { "description": "用户关联", "type": "string" }, "source": { "description": "用户来源", "type": "string" }, "tags": { "description": "个人标签", "type": "string" }, "type": { "description": "用户类型(随用户所属而定)", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "username": { "description": "用户登录名", "type": "string" }, "uuid": { "description": "用户uuid编码", "type": "string" } } }, "request.UserSearchByUuid": { "type": "object", "properties": { "user_id": { "type": "string" } } }, "request.Withdrawal": { "type": "object", "properties": { "accountID": { "description": "账户id", "type": "integer" }, "amount": { "description": "提现金额", "type": "number" }, "code": { "description": "验证码", "type": "string" }, "phone": { "description": "账户绑定手机号", "type": "string" } } }, "request.WithdrawalParams": { "type": "object", "properties": { "accountID": { "description": "提现账户id", "type": "integer" }, "amount": { "description": "提现金额", "type": "number" }, "code": { "description": "验证码", "type": "string" } } }, "response.ChainResp": { "type": "object", "properties": { "block_adress": { "description": "所在区块", "type": "string" }, "block_height": { "description": "块高度", "type": "integer" }, "hash": { "description": "交易哈希", "type": "string" }, "time": { "description": "上链时间", "type": "string" } } }, "response.IDResponse": { "type": "object", "properties": { "id": { "type": "integer" } } }, "response.MissionClaimGoods": { "type": "object", "properties": { "goods_id": { "description": "商品ID", "type": "integer" }, "image": { "description": "规格图片url", "type": "string" }, "order_id": { "description": "订单ID", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sales": { "description": "总销售量", "type": "number" }, "sales_30": { "description": "30天销售量", "type": "number" }, "sku_no": { "description": "商品编码", "type": "string" }, "specs": { "description": "规格", "type": "string" }, "spu_no": { "description": "编号", "type": "string" }, "status": { "description": "1:上架 2:下架 3:售罄", "type": "integer" }, "stock": { "description": "库存", "type": "integer" }, "tags": { "description": "标签", "type": "string" }, "title": { "description": "标题", "type": "string" }, "title_eng": { "description": "英文标题", "type": "string" } } }, "response.MissionClaimInfo": { "type": "object", "properties": { "claim_at": { "description": "接任务时间", "type": "string" }, "claim_days": { "description": "任务完成天数", "type": "integer" }, "claim_demands": { "description": "任务拍摄要求", "type": "string" }, "claim_num": { "description": "接任务人数", "type": "integer" }, "claim_stock": { "description": "可接任务库存", "type": "integer" }, "description": { "description": "描述/卖点", "type": "string" }, "end_time": { "description": "任务结束时间", "type": "string" }, "has_sample": { "description": "是否有样品 0:没有 1:有", "type": "integer" }, "has_video": { "description": "是否有视频素材 0:没有 1:有", "type": "integer" }, "hire_money": { "description": "hire_type==1 佣金金额", "type": "number" }, "hire_money_expect": { "description": "预计佣金描述", "type": "string" }, "hire_ratio": { "description": "hire_type==2 抽成比例", "type": "number" }, "hire_type": { "description": "佣金类型 1:固定佣金 2:比例抽成", "type": "integer" }, "mission_id": { "description": "任务id", "type": "integer" }, "order_num": { "description": "订单数", "type": "integer" }, "release_channels": { "description": "发布渠道", "type": "string" }, "release_country": { "description": "发布国家", "type": "string" }, "sample_num": { "description": "样品数量", "type": "integer" }, "start_time": { "description": "任务起始时间", "type": "string" }, "status": { "description": "状态 1:未开始 2:进行中 3:已结束", "type": "integer" }, "title": { "description": "任务名称", "type": "string" }, "video_channel_ids": { "description": "视频发布渠道,多个渠道英文逗号连接", "type": "string" }, "video_country_id": { "description": "视频发布国家", "type": "string" }, "video_url": { "type": "string" } } }, "response.MissionClaimOrderResponse": { "type": "object", "properties": { "order": { "$ref": "#/definitions/model.MissionClaimOrderDetail" } } }, "response.MissionClaimVideo": { "type": "object", "properties": { "appid": { "description": "应用ID", "type": "string" }, "claim_at": { "description": "接任务时间", "type": "string" }, "claim_days": { "description": "完成任务时间", "type": "integer" }, "cover": { "description": "视频封面", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "goods_title": { "description": "商品名称", "type": "string" }, "hire_money_expect": { "description": "预计佣金描述", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "influencer_user": { "description": "网红信息", "allOf": [ { "$ref": "#/definitions/model.InfluencerUserView" } ] }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "mission_id": { "description": "任务id", "type": "integer" }, "mission_title": { "description": "任务名称", "type": "string" }, "remark": { "type": "string" }, "reward_status": { "description": "奖励发放状态 1:未发放 2:已发放", "type": "integer" }, "source_type": { "description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传", "type": "integer" }, "status": { "description": "状态 1:待审核 2:审核通过 3:审核不通过", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "video_url": { "description": "视频上传地址", "type": "string" } } }, "response.MissionClaimVideoDetail": { "type": "object", "properties": { "claim_goods": { "description": "商品信息", "allOf": [ { "$ref": "#/definitions/response.MissionClaimGoods" } ] }, "claim_video": { "$ref": "#/definitions/model.MissionClaimVideo" }, "influencer_user": { "description": "网红信息", "allOf": [ { "$ref": "#/definitions/model.InfluencerUserDesc" } ] }, "mission_claim": { "description": "任务领取信息", "allOf": [ { "$ref": "#/definitions/response.MissionClaimInfo" } ] } } }, "response.MissionResponse": { "type": "object", "properties": { "mission": { "$ref": "#/definitions/model.MissionDetail" } } }, "response.PageResult": { "type": "object", "properties": { "list": {}, "page": { "type": "integer" }, "pageSize": { "type": "integer" }, "total": { "type": "integer" } } }, "response.PayResult": { "type": "object", "properties": { "pay_channel": { "type": "string" }, "pay_id": { "type": "string" }, "pay_return": { "type": "string" }, "pay_status": { "type": "string" } } }, "response.Response": { "type": "object", "properties": { "code": { "type": "integer" }, "data": {}, "msg": { "type": "string" } } }, "response.SelectListResult": { "type": "object", "properties": { "list": {} } }, "response.SysAuthorityCopyResponse": { "type": "object", "properties": { "authority": { "$ref": "#/definitions/model.SysAuthority" }, "oldAuthorityId": { "description": "旧角色ID", "type": "integer" } } }, "response.TbGoodsResponse": { "type": "object", "properties": { "goods": { "$ref": "#/definitions/model.TbGoodsDetail" } } } }, "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", "name": "x-token", "in": "header" } } }