{ "swagger": "2.0", "info": { "description": "接口文档", "title": "Swagger Example API", "contact": {}, "version": "0.0.1" }, "paths": { "/base/authorized": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "auth" ], "summary": "授权登录[v1.0.0]", "parameters": [ { "description": "email,password...", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserAuthorized" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "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" } } } } }, "/customer/base/brochure": { "get": { "tags": [ "tools" ], "summary": "隐私协议单页", "parameters": [ { "type": "string", "name": "type", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"\"}", "schema": { "type": "string" } } } } }, "/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" } } } } }, "/global/address": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "公用-收货地址" ], "summary": "获取用户收货地址列表【v1.0】", "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "put": { "security": [ { "Bearer": [] } ], "tags": [ "公用-收货地址" ], "summary": "修改收货地址【v1.0】", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/model.Address" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "post": { "security": [ { "Bearer": [] } ], "tags": [ "公用-收货地址" ], "summary": "添加收货地址【v1.0】", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/model.Address" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "delete": { "security": [ { "Bearer": [] } ], "tags": [ "公用-收货地址" ], "summary": "删除收货地址【v1.0】", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/global.BASE_ID" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/global/track": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "track" ], "summary": "查询物流信息", "parameters": [ { "type": "integer", "description": "id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/global/usSelect": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "公用-收货地址" ], "summary": "美国地区选择器【v1.0】", "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/banner/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "banner" ], "summary": "分页获取banner列表【v1.1.0新增】", "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", "schema": { "type": "array", "items": { "$ref": "#/definitions/response.BannerListResponse" } } } } } }, "/influencer/base/brochure": { "get": { "tags": [ "tools" ], "summary": "隐私协议单页", "parameters": [ { "type": "string", "name": "type", "in": "query" } ], "responses": { "200": { "description": "{\"success\":true,\"data\":{},\"msg\":\"\"}", "schema": { "type": "string" } } } } }, "/influencer/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" } } } } }, "/influencer/base/login": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "auth" ], "summary": "登录[v1.0.0]", "parameters": [ { "description": "email,password...", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserLogin" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/base/register": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "auth" ], "summary": "注册[v1.0.0]", "parameters": [ { "description": "email,password...", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserRegister" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/base/version": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "version" ], "summary": "获取版本信息", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/goods/detail": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "goods" ], "summary": "获取商品详情", "parameters": [ { "type": "string", "description": "领取任务id", "name": "claim_no", "in": "query" }, { "type": "integer", "description": "商品id", "name": "id", "in": "query" }, { "type": "string", "description": "sku_no", "name": "sku_no", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/model.TbGoodsDetail" } } } } }, "/influencer/mission/bonus": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务累计奖金", "parameters": [ { "type": "string", "description": "任务编码", "name": "code", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/model.MissionBonus" } } } } }, "/influencer/mission/claim": { "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/model.MissionClaimDetail" } } } }, "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "领取任务【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.ClaimMission" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/influencer/mission/claim-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取我的任务列表【v1.0】", "parameters": [ { "type": "integer", "description": "佣金类型 1:固定佣金 2:比例抽成", "name": "hire_type", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "是否筛选上传视频 1是", "name": "video_upload", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimDetail" } } } } } }, "/influencer/mission/collect": { "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "收藏/取消收藏任务【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.MissionId" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/influencer/mission/collect-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取收藏任务列表【v1.0】", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.MissionDetail" } } } } } }, "/influencer/mission/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": { "$ref": "#/definitions/model.MissionDetail" } } } } }, "/influencer/mission/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取任务列表【v1.0】", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.MissionDetail" } } } } } }, "/influencer/mission/order-data": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "mission" ], "summary": "获取任务下订单统计数据", "parameters": [ { "type": "string", "description": "任务编码", "name": "code", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/dto.MissionOrderStatistic" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/mission/recommend-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": { "$ref": "#/definitions/response.MissionRecommendResponse" } } } } }, "/influencer/mission/recommend-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取首页任务列表【v1.0】", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/response.MissionRecommendResponse" } } } } } }, "/influencer/mission/submit-video": { "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "固定费用任务上传视频【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.ClaimMissionVideo" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/influencer/mission/submit-works": { "post": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "领取任务的提交作品【v1.0】", "parameters": [ { "description": "params", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.ClaimMissionWorksList" } } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "string" } } } } }, "/influencer/mission/sys-reward-list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取平台奖励列表【v1.0】", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "状态 1待发放 2已发放 3已领取", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.SysMissionReward" } } } } } }, "/influencer/mission/sys-reward-summary": { "get": { "security": [ { "ApiKeyAuth": [] } ], "tags": [ "mission" ], "summary": "获取平台奖励汇总【v1.0】", "parameters": [ { "type": "integer", "description": "状态 1待发放 2已发放 3已领取", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 200, \"data\": {}}", "schema": { "$ref": "#/definitions/response.SysMissionBonus" } } } } }, "/influencer/order/data": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单数据", "parameters": [ { "type": "string", "description": "场景 my:我的 order-list:订单列表", "name": "scene", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/dto.OrderData" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/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" } } } } }, "/influencer/order/goods/snapshot": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单商品快照", "parameters": [ { "type": "string", "description": "订单号", "name": "orderID", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.OrderGoodsDetail" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/order/list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "order" ], "summary": "获取订单列表", "parameters": [ { "type": "string", "description": "网红码?", "name": "code", "in": "query" }, { "type": "string", "description": "数据库分组", "name": "group", "in": "query" }, { "type": "string", "description": "订单号", "name": "orderID", "in": "query" }, { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "订单状态 //订单状态 1-待付款 2-待发货 3-已发货 4-已完成 5-已取消", "name": "status", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.OrderList" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/user/bandPhone": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户" ], "summary": "网红绑定手机[v1.0.0]", "parameters": [ { "description": "email,password...", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserBandPhone" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/user/detail": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户" ], "summary": "获取用户基本信息[v1.0.0]", "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "put": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户" ], "summary": "修改用户基本信息", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.UserDetail" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/user/logoff": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户" ], "summary": "注销账户[v1.0.1]", "responses": { "200": { "description": "{\"code\": 0, \"data\": \"注销成功\"}", "schema": { "type": "string" } } } } }, "/influencer/user/platformAuth": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户" ], "summary": "平台认证[v1.0.0]", "parameters": [ { "description": "email,password...", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.UserPlatformAuth" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/user/statistics": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户" ], "summary": "获取用户统计信息[v1.0.0]", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/response.UserStatistics" } } } } }, "/influencer/wallet/account": { "post": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户钱包" ], "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": [ "网红端-用户钱包" ], "summary": "解绑账户", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.DeleteAccount" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/account/default": { "put": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户钱包" ], "summary": "设置账户默认开关", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.IdReq" } } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "string" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/accountList": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户钱包" ], "summary": "获取账户列表", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.Account" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/bill-list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "对账中心" ], "summary": "获取资金流水记录", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "in": "query" }, { "type": "string", "description": "空:默认 1:bill-center", "name": "scene", "in": "query" }, { "type": "string", "description": "空:全部 1-支出 2-收入", "name": "status", "in": "query" }, { "type": "string", "description": "1:全部 2:昨天 3:近30天", "name": "uint", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.Bill" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/bill-notify": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "对账中心" ], "summary": "获取账单通知列表", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "type": "array", "items": { "$ref": "#/definitions/model.BillNotify" } } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/bill/data": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "对账中心" ], "summary": "获取对账中心数据", "parameters": [ { "type": "string", "description": "1:全部 2:昨天 3:近30天", "name": "uint", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/dto.BillData" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/detail": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户钱包" ], "summary": "钱包基本信息", "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.Wallet" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/withdrawal": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "对账中心" ], "summary": "获取提现详情", "parameters": [ { "type": "string", "description": "流水号", "name": "flow_no", "in": "query" } ], "responses": { "200": { "description": "{\"code\": 0, \"data\": [...]}", "schema": { "$ref": "#/definitions/model.Withdrawal" } }, "201": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } }, "post": { "security": [ { "Bearer": [] } ], "tags": [ "网红端-用户钱包" ], "summary": "提现", "parameters": [ { "description": "data...", "name": "data", "in": "body", "schema": { "$ref": "#/definitions/request.WithdrawalParams" } } ], "responses": { "200": { "description": "{\"code\": 1, \"message\": \"\"}", "schema": { "type": "string" } } } } }, "/influencer/wallet/withdrawal-list": { "get": { "security": [ { "Bearer": [] } ], "tags": [ "对账中心" ], "summary": "获取提现记录", "parameters": [ { "type": "integer", "description": "页码", "name": "page", "in": "query" }, { "type": "integer", "description": "每页大小", "name": "pageSize", "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": { "dto.BillData": { "type": "object", "properties": { "cancelOrderMoney": { "description": "退款订单总额", "type": "number" }, "cancelOrderNum": { "description": "退款订单数", "type": "integer" }, "flowExpend": { "description": "出账", "type": "number" }, "flowIncome": { "description": "进账", "type": "number" }, "income": { "description": "收入总额", "type": "number" }, "orderMoney": { "description": "订单总额", "type": "number" }, "orderNum": { "description": "订单数", "type": "integer" }, "rewardUnfinished": { "description": "在途佣金", "type": "number" } } }, "dto.MissionOrderStatistic": { "type": "object", "properties": { "OrderMoney": { "description": "订单金额", "type": "number" }, "OrderUserNum": { "description": "下单人数", "type": "integer" }, "RewardRatio": { "description": "佣金比例", "type": "number" }, "SellNum": { "description": "销售数量", "type": "integer" }, "SettleReward": { "description": "结算佣金", "type": "number" }, "TransitReward": { "description": "在途佣金", "type": "number" }, "Uv": { "description": "浏览人数", "type": "integer" }, "orderDoneNum": { "description": "完成订单总数", "type": "integer" }, "orderNum": { "description": "订单总数", "type": "integer" } } }, "dto.OrderData": { "type": "object", "properties": { "all": { "description": "全部", "type": "integer" }, "cancel": { "description": "已取消", "type": "integer" }, "finished": { "description": "已完成", "type": "integer" }, "shipped": { "description": "已发货", "type": "integer" }, "unship": { "description": "待发货", "type": "integer" } } }, "global.BASE_ID": { "type": "object", "properties": { "id": { "description": "主键", "type": "integer" } } }, "model.Account": { "type": "object", "properties": { "account_name": { "description": "户名", "type": "string" }, "address": { "description": "收款人地址", "type": "string" }, "bank_code": { "description": "收款行", "type": "string" }, "card_number": { "description": "银行卡号", "type": "string" }, "country": { "description": "国家/地区", "type": "string" }, "created_at": { "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" }, "updated_at": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.Address": { "type": "object", "properties": { "bldg": { "description": "apt,ste,bldg", "type": "string" }, "city": { "description": "city", "type": "string" }, "created_at": { "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" }, "phone": { "description": "手机号", "type": "string" }, "platform": { "description": "平台 saller(买家端) / customer(客户端) / influencer(网红端)", "type": "string" }, "state": { "description": "state", "type": "string" }, "street": { "description": "street", "type": "string" }, "updated_at": { "description": "更新时间", "type": "string" }, "userId": { "type": "string" }, "zipCode": { "description": "zip code", "type": "string" } } }, "model.Bill": { "type": "object", "properties": { "account": { "description": "收款账户(提现)", "type": "string" }, "amount": { "description": "数量", "type": "integer" }, "balance": { "description": "余额", "type": "number" }, "check_status": { "description": "审核状态 0:待审核 1:审核通过 2:审核未通过", "type": "string" }, "claim_no": { "description": "领取任务编号", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "order_id": { "description": "关联订单id", "type": "string" }, "platform": { "description": "平台 seller(买家端) / 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-提现 4-平台奖励", "type": "string" }, "updated_at": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" }, "withd_id": { "description": "提现id", "type": "string" }, "withdrawalStatus": { "description": "提现状态 0-提现中 1-提现完成 2-提现失败", "type": "integer" } } }, "model.BillNotify": { "type": "object", "properties": { "relation_id": { "description": "关联id", "type": "string" }, "relation_type": { "description": "关联类型", "type": "string" }, "title": { "description": "标题", "type": "string" } } }, "model.BillView": { "type": "object", "properties": { "id": { "description": "id", "type": "integer" }, "order_id": { "description": "订单编号", "type": "string" }, "transaction_id": { "description": "交易编号", "type": "string" } } }, "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.MissionBonus": { "type": "object", "properties": { "total": { "type": "number" }, "user_total": { "type": "number" } } }, "model.MissionClaimDetail": { "type": "object", "properties": { "achieve_num": { "description": "已完成商品数量", "type": "integer" }, "claim_no": { "description": "领取任务编号", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "email": { "description": "发送邮箱", "type": "string" }, "expire_at": { "description": "任务推广过期时间", "type": "string" }, "finished": { "description": "任务完成状态 0:未完成 1:已完成", "type": "integer" }, "id": { "description": "主键ID", "type": "integer" }, "mission": { "description": "关联任务", "allOf": [ { "$ref": "#/definitions/model.MissionDetail" } ] }, "mission_id": { "description": "任务id", "type": "integer" }, "order": { "description": "任务订单", "allOf": [ { "$ref": "#/definitions/model.MissionClaimOrderInfo" } ] }, "spread_url": { "description": "推广链接", "type": "string" }, "status": { "description": "状态 1:已领取待发货 2:已发货 3:已收货推广中", "type": "integer" }, "status_except": { "description": "状态描述", "type": "string" }, "total_bonus": { "description": "累计佣金", "type": "integer" }, "updated_at": { "description": "更新时间", "type": "string" }, "video": { "description": "上传视频", "allOf": [ { "$ref": "#/definitions/model.MissionClaimVideo" } ] }, "works": { "description": "发布作品", "type": "array", "items": { "$ref": "#/definitions/model.MissionClaimWorks" } } } }, "model.MissionClaimOrderGoods": { "type": "object", "properties": { "created_at": { "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" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.MissionClaimOrderInfo": { "type": "object", "properties": { "courier": { "description": "快递公司", "type": "string" }, "courier_number": { "description": "快递单号", "type": "string" }, "courier_url": { "description": "快递查询地址", "type": "string" }, "deliver": { "description": "发货信息", "allOf": [ { "$ref": "#/definitions/model.OrderDeliver" } ] }, "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": { "cover": { "description": "视频封面", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "height": { "description": "高度", "type": "integer" }, "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" }, "updated_at": { "description": "更新时间", "type": "string" }, "video_url": { "description": "视频上传地址", "type": "string" }, "width": { "description": "宽度", "type": "integer" } } }, "model.MissionClaimWorks": { "type": "object", "properties": { "created_at": { "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:YouTube 3:tiktok 4:Facebook 5:Twitter", "type": "integer" }, "updated_at": { "description": "更新时间", "type": "string" }, "video_url": { "description": "视频上传地址", "type": "string" } } }, "model.MissionDetail": { "type": "object", "properties": { "claim_days": { "description": "任务完成天数", "type": "integer" }, "claim_demands": { "description": "任务拍摄要求", "type": "string" }, "claim_num": { "description": "接任务人数", "type": "integer" }, "claim_status_except": { "description": "可接任务状态描述", "type": "string" }, "claim_status_except_eng": { "description": "英文版状态描述", "type": "string" }, "claim_stock": { "description": "可接任务库存", "type": "integer" }, "collect_status": { "description": "收藏状态 true:已收藏 false:未收藏", "type": "boolean" }, "created_at": { "description": "创建时间", "type": "string" }, "description": { "description": "描述/卖点", "type": "string" }, "end_time": { "description": "任务结束时间", "type": "string" }, "goods": { "description": "商品信息", "allOf": [ { "$ref": "#/definitions/model.TbGoodsSpecsView" } ] }, "goods_status": { "description": "关联商品状态 1:正常 2:已下架", "type": "integer" }, "goods_url": { "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" }, "id": { "description": "主键ID", "type": "integer" }, "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": { "description": "商家信息", "allOf": [ { "$ref": "#/definitions/model.SellerStoreInfo" } ] }, "title": { "description": "标题", "type": "string" }, "updated_at": { "description": "更新时间", "type": "string" }, "video_channel_ids": { "description": "视频发布渠道,多个渠道英文逗号连接", "type": "string" }, "video_country_id": { "description": "视频发布国家", "type": "string" }, "video_url": { "type": "string" } } }, "model.OrderAddress": { "type": "object", "properties": { "bldg": { "description": "apt,ste,bldg", "type": "string" }, "city": { "description": "city", "type": "string" }, "created_at": { "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" }, "updated_at": { "description": "更新时间", "type": "string" }, "userId": { "type": "string" }, "zipCode": { "description": "zip code", "type": "string" } } }, "model.OrderDeliver": { "type": "object", "properties": { "courier": { "description": "快递公司", "type": "string" }, "courierLink": { "description": "快递链接", "type": "string" }, "courierNumber": { "description": "快递单号", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "orderID": { "description": "订单号", "type": "string" }, "track_id": { "description": "track表id", "type": "integer" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.OrderDetail": { "type": "object", "properties": { "IAmount": { "description": "网红佣金", "type": "string" }, "address": { "description": "地址", "allOf": [ { "$ref": "#/definitions/model.OrderAddress" } ] }, "bill": { "description": "交易信息", "allOf": [ { "$ref": "#/definitions/model.BillView" } ] }, "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" }, "created_at": { "description": "创建时间", "type": "string" }, "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" }, "paypalID": { "description": "paypal订单号", "type": "string" }, "platform": { "description": "购买平台", "type": "string" }, "postSale": { "description": "售后信息", "allOf": [ { "$ref": "#/definitions/model.PostSale" } ] }, "price": { "description": "商品价格", "type": "number" }, "sendTime": { "description": "发货时间", "type": "string" }, "sku_id": { "description": "商品规格编号", "type": "integer" }, "sku_no": { "description": "商品规格编号", "type": "string" }, "status": { "description": "订单状态 //订单状态 1-待付款 2-待发货 3-已发货 4-已完成 5-已取消", "type": "integer" }, "store": { "description": "店铺信息", "allOf": [ { "$ref": "#/definitions/model.SellerStoreInfo" } ] }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "类型 1-普通订单 2-预售订单", "type": "integer" }, "updated_at": { "description": "更新时间", "type": "string" }, "userID": { "description": "用户id", "type": "string" } } }, "model.OrderGoodsDetail": { "type": "object", "properties": { "attributes": { "description": "规格详情", "type": "array", "items": { "$ref": "#/definitions/model.TbAttributeWithValues" } }, "content": { "description": "详情", "type": "string" }, "content_text": { "description": "详情-文字", "type": "string" }, "cover": { "description": "封面图", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "goods_specs": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/model.TbOrderGoodsSpecsDetail" } }, "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" }, "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" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.OrderList": { "type": "object", "properties": { "IAmount": { "description": "网红佣金", "type": "string" }, "captureID": { "description": "paypal收款确认id", "type": "string" }, "code": { "description": "网红码?", "type": "string" }, "commodID": { "description": "商品id", "type": "integer" }, "confirmTime": { "description": "收货时间", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "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" }, "paypalID": { "description": "paypal订单号", "type": "string" }, "platform": { "description": "购买平台", "type": "string" }, "price": { "description": "商品价格", "type": "number" }, "sendTime": { "description": "发货时间", "type": "string" }, "sku_id": { "description": "商品规格编号", "type": "integer" }, "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" }, "updated_at": { "description": "更新时间", "type": "string" }, "user": { "description": "买家信息", "allOf": [ { "$ref": "#/definitions/model.UserSimple" } ] }, "userID": { "description": "用户id", "type": "string" } } }, "model.PostSale": { "type": "object", "properties": { "created_at": { "description": "创建时间", "type": "string" }, "examine_time": { "description": "审核时间", "type": "string" }, "id": { "description": "id", "type": "integer" }, "orderId": { "description": "订单id", "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" } } }, "model.SellerStoreInfo": { "type": "object", "properties": { "email": { "description": "店铺联系email(注册账号email)", "type": "string" }, "store_no": { "description": "店铺编号", "type": "string" }, "type": { "description": "1:个人店铺", "type": "integer" } } }, "model.SysMissionReward": { "type": "object", "properties": { "achieve_num": { "description": "已完成任务次数", "type": "integer" }, "audit_by": { "description": "审核人", "type": "string" }, "bonus": { "description": "奖励金额", "type": "number" }, "create_by": { "description": "创建人", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "relationId": { "description": "关联项目id", "type": "string" }, "status": { "description": "状态 1待发放 2已发放 3已领取", "type": "integer" }, "title": { "description": "标题", "type": "string" }, "type": { "description": "奖励类型 1.视频上传 2.信息完善 3.商家任务", "type": "integer" }, "update_by": { "description": "更新人", "type": "string" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.TbAttributeDetail": { "type": "object", "properties": { "attribute_id": { "description": "规格属性id", "type": "integer" }, "value": { "type": "string" }, "value_id": { "type": "integer" } } }, "model.TbAttributeValueItem": { "type": "object", "properties": { "id": { "type": "integer" }, "image": { "description": "图片", "type": "string" }, "name": { "description": "规格属性值", "type": "string" } } }, "model.TbAttributeWithValues": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "values": { "type": "array", "items": { "$ref": "#/definitions/model.TbAttributeValueItem" } } } }, "model.TbGoodsDetail": { "type": "object", "properties": { "attributes": { "description": "规格详情", "type": "array", "items": { "$ref": "#/definitions/model.TbAttributeWithValues" } }, "breadcrumb": { "description": "分类面包屑", "type": "array", "items": { "$ref": "#/definitions/model.Breadcrumb" } }, "category_id": { "description": "分类id", "type": "integer" }, "collect_status": { "description": "收藏状态 true:已收藏 false:未收藏", "type": "boolean" }, "content": { "description": "商品详情", "type": "string" }, "content_text": { "description": "详情-文字", "type": "string" }, "cover": { "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "images": { "description": "图片", "type": "string" }, "list_price": { "description": "列表价格", "type": "number" }, "online": { "description": "上下架状态 on/off", "type": "string" }, "price_max": { "description": "最高规格价格", "type": "number" }, "price_min": { "description": "最低规格价格", "type": "number" }, "retail_price": { "description": "吊牌价(零售指导价)", "type": "number" }, "specs": { "description": "规格", "type": "array", "items": { "$ref": "#/definitions/model.TbGoodsSpecsDetail" } }, "spu_no": { "description": "编号", "type": "string" }, "tags": { "description": "标签", "type": "string" }, "title": { "description": "标题", "type": "string" }, "title_eng": { "description": "英文标题", "type": "string" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.TbGoodsSpecsDetail": { "type": "object", "properties": { "attributes": { "description": "规格详情", "type": "array", "items": { "$ref": "#/definitions/model.TbAttributeDetail" } }, "code": { "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "goods_id": { "type": "integer" }, "goods_no": { "description": "商品编号", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "image": { "description": "规格图片url", "type": "string" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "商品编码", "type": "string" }, "specs": { "description": "规格", "type": "string" }, "stock": { "description": "库存", "type": "integer" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.TbGoodsSpecsView": { "type": "object", "properties": { "attributes": { "description": "规格详情", "type": "array", "items": { "$ref": "#/definitions/model.TbAttributeWithValues" } }, "cover": { "type": "string" }, "created_at": { "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" }, "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" }, "updated_at": { "description": "更新时间", "type": "string" } } }, "model.TbOrderGoodsSpecsDetail": { "type": "object", "properties": { "code": { "description": "attribute定位标识", "type": "string" }, "goods_id": { "type": "integer" }, "goods_no": { "description": "商品编号", "type": "string" }, "image": { "description": "规格图片url", "type": "string" }, "orderGoodsId": { "type": "integer" }, "price": { "description": "价格", "type": "number" }, "sku_no": { "description": "Attributes []TbAttributeDetail `gorm:\"-\" json:\"-\"` // 规格详情", "type": "string" }, "specs": { "description": "规格", "type": "string" } } }, "model.UsCitys": { "type": "object", "properties": { "city": { "type": "string" }, "county": { "type": "string" }, "id": { "type": "integer" }, "idState": { "type": "integer" } } }, "model.UsSelect": { "type": "object", "properties": { "children": { "type": "array", "items": { "$ref": "#/definitions/model.UsCitys" } }, "id": { "type": "integer" }, "stateCode": { "type": "string" }, "stateName": { "type": "string" } } }, "model.UserSimple": { "type": "object", "properties": { "avatar": { "description": "头像", "type": "string" }, "email": { "description": "用户邮箱", "type": "string" }, "nick_name": { "description": "昵称", "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "platform": { "description": "平台", "type": "array", "items": { "$ref": "#/definitions/request.Platform" } }, "tags": { "description": "个人标签", "type": "string" }, "uuid": { "description": "用户uuid编码", "type": "string" } } }, "model.Wallet": { "type": "object", "properties": { "balance": { "description": "可用余额", "type": "number" }, "created_at": { "description": "创建时间", "type": "string" }, "id": { "description": "主键ID", "type": "integer" }, "platform": { "description": "平台 saller(买家端) / customer(客户端) / influencer(网红端)", "type": "string" }, "state": { "description": "状态 0:正常 1:限制提现 2:禁止提现", "type": "integer" }, "transitBalance": { "description": "在途余额", "type": "number" }, "updated_at": { "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" }, "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" }, "created_at": { "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" }, "updated_at": { "description": "更新时间", "type": "string" }, "wallet_type": { "description": "钱包类型 1:余额钱包 2:营销账户钱包", "type": "integer" } } }, "model.WithdrawalView": { "type": "object", "properties": { "flow_no": { "description": "流水号", "type": "string" } } }, "request.AddAccount": { "type": "object", "properties": { "account_name": { "description": "户名", "type": "string" }, "address": { "description": "收款人地址", "type": "string" }, "bank_card": { "description": "银行卡号", "type": "string" }, "bank_code": { "description": "银行编码", "type": "string" }, "country": { "description": "国家/地区", "type": "string" }, "currency": { "description": "币种 USD: 美元", "type": "string" }, "is_default": { "description": "是否默认", "type": "boolean" }, "swift_code": { "description": "swift编码", "type": "string" } } }, "request.ClaimMission": { "type": "object", "properties": { "address_id": { "description": "收货地址id", "type": "integer" }, "email": { "description": "邮箱地址", "type": "string" }, "mission_id": { "description": "任务id", "type": "integer" }, "sku_no": { "description": "商品sku_no", "type": "string" }, "spu_no": { "description": "商品spu_no", "type": "string" } } }, "request.ClaimMissionVideo": { "type": "object", "properties": { "cover": { "type": "string" }, "height": { "description": "高度", "type": "integer" }, "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "source_type": { "description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传", "type": "integer" }, "video_url": { "description": "视频上传地址", "type": "string" }, "width": { "description": "宽度", "type": "integer" } } }, "request.ClaimMissionWorks": { "type": "object", "properties": { "homepage": { "description": "作品主页地址", "type": "string" }, "id": { "description": "id", "type": "integer" }, "image": { "description": "作品凭证截图", "type": "string" }, "type": { "description": "平台 1:ins 2:Pinterest 3:tk 4:Twitter 5:Facebook 6:Reddit", "type": "integer" }, "video_url": { "description": "视频上传地址", "type": "string" } } }, "request.ClaimMissionWorksList": { "type": "object", "properties": { "mission_claim_id": { "description": "领取任务id", "type": "integer" }, "works": { "description": "作品列表", "type": "array", "items": { "$ref": "#/definitions/request.ClaimMissionWorks" } } } }, "request.DeleteAccount": { "type": "object", "properties": { "code": { "description": "验证码", "type": "string" }, "id": { "description": "主键", "type": "integer" }, "phone": { "description": "手机号", "type": "string" } } }, "request.IdReq": { "type": "object", "properties": { "id": { "description": "id", "type": "integer" } } }, "request.MissionId": { "type": "object", "properties": { "mission_id": { "description": "任务", "type": "integer" } } }, "request.Platform": { "type": "object", "properties": { "image": { "description": "图片", "type": "string" }, "is_auth": { "description": "是否认证", "type": "boolean" }, "label": { "type": "string" }, "platform": { "description": "平台 字典表获取", "type": "string" }, "url": { "description": "主页地址", "type": "string" } } }, "request.SendEmail": { "type": "object", "properties": { "email": { "type": "string" } } }, "request.SendMessage": { "type": "object", "properties": { "country_code": { "description": "用户手机号国家代码 国际区号 86 中国 1美国", "type": "string" }, "phone": { "type": "string" }, "type": { "description": "1:登录验证码 2-解绑 3-绑定 4-提现", "type": "integer" } } }, "request.UserAuthorized": { "type": "object", "properties": { "appid": { "description": "应用id", "type": "string" }, "client": { "description": "客户端 ios android web", "type": "string" }, "code": { "description": "授权码", "type": "string" }, "platform": { "description": "平台 google facebook twitter tiktok", "type": "string" }, "token": { "description": "token", "type": "string" }, "uuid": { "description": "设备唯一标识", "type": "string" } } }, "request.UserBandPhone": { "type": "object", "properties": { "code": { "description": "验证码", "type": "string" }, "phone": { "description": "手机号", "type": "string" } } }, "request.UserDetail": { "type": "object", "properties": { "platform": { "description": "平台及地址逗号隔开 eg:(ins:https://baidu.com/user/1,qq:12345678)", "type": "string" }, "tags": { "description": "个人标签", "type": "string" }, "type": { "description": "修改字段 platform-平台 tags-个人标签", "type": "string" } } }, "request.UserLogin": { "type": "object", "properties": { "appid": { "description": "应用id", "type": "string" }, "code": { "description": "验证码", "type": "string" }, "country_code": { "description": "用户手机号国家代码 国际区号 86 中国 1美国", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "password": { "description": "密码", "type": "string" }, "phone": { "description": "手机号", "type": "string" }, "type": { "description": "1-手机号 2-邮箱", "type": "string" } } }, "request.UserPlatformAuth": { "type": "object", "properties": { "platform": { "description": "平台", "allOf": [ { "$ref": "#/definitions/request.Platform" } ] }, "tags": { "description": "个人标签", "type": "string" } } }, "request.UserRegister": { "type": "object", "properties": { "appid": { "description": "应用id", "type": "string" }, "avatar": { "description": "头像", "type": "string" }, "code": { "description": "验证码", "type": "string" }, "country_code": { "description": "用户手机号国家代码 国际区号 86 中国 1美国", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "nickname": { "description": "昵称", "type": "string" } } }, "request.WithdrawalParams": { "type": "object", "properties": { "accountID": { "description": "提现账户id", "type": "integer" }, "amount": { "description": "Code string `json:\"code\"` // 验证码", "type": "number" } } }, "response.BannerListResponse": { "type": "object", "properties": { "coverUrl": { "description": "封面图", "type": "string" }, "id": { "description": "主键", "type": "integer" }, "link": { "description": "链接地址", "type": "string" }, "linkType": { "description": "链接类型 0:内链 1:外链", "type": "string" }, "relationId": { "description": "关联项目id", "type": "string" }, "relationType": { "description": "关联类型 01-任务", "type": "string" }, "sort_index": { "description": "序号索引", "type": "integer" }, "status": { "description": "状态 0=下架 1=上架", "type": "string" }, "title": { "description": "标题", "type": "string" }, "type": { "description": "任务-0101 平台奖励页-0102", "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.MissionRecommendResponse": { "type": "object", "properties": { "achieve_num": { "description": "已完成商品数量", "type": "integer" }, "bought_num": { "description": "购买人数", "type": "number" }, "claim_num": { "description": "任务领取人数", "type": "integer" }, "cover": { "description": "封面", "type": "string" }, "create_by": { "description": "创建人", "type": "string" }, "created_at": { "description": "创建时间", "type": "string" }, "end_time": { "description": "任务结束时间", "type": "string" }, "goods_title": { "description": "商品标题", "type": "string" }, "goods_title_eng": { "description": "商品英文标题", "type": "string" }, "height": { "description": "高度", "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" }, "influencer": { "$ref": "#/definitions/model.UserSimple" }, "mission_id": { "description": "任务ID", "type": "integer" }, "mission_status": { "description": "任务状态", "type": "integer" }, "relation_id": { "description": "关联ID,任务视频ID", "type": "integer" }, "release_channels": { "description": "发布渠道", "type": "string" }, "release_country": { "description": "发布国家", "type": "string" }, "sort": { "description": "倒序 //排序", "type": "integer" }, "start_time": { "description": "任务起始时间", "type": "string" }, "status": { "description": "状态 1:上架 2:下架", "type": "integer" }, "tag": { "description": "todo 标签系统", "type": "string" }, "title": { "description": "任务标题", "type": "string" }, "total_bonus": { "description": "累计奖励", "type": "number" }, "updated_at": { "description": "更新时间", "type": "string" }, "video_url": { "description": "视频地址", "type": "string" }, "width": { "description": "宽度", "type": "integer" } } }, "response.SysBonusDetail": { "type": "object", "properties": { "achieve_max": { "description": "最大完成次数", "type": "integer" }, "achieve_num": { "description": "已完成任务次数", "type": "integer" }, "bonus": { "description": "奖金", "type": "number" }, "mission_list": { "description": "任务列表", "type": "array", "items": { "$ref": "#/definitions/response.SysMissionDesc" } }, "title": { "description": "标题", "type": "string" }, "total": { "description": "奖励次数", "type": "integer" }, "type": { "description": "奖励类型 1.视频上传 2.信息完善 3.商家任务", "type": "integer" } } }, "response.SysMissionBonus": { "type": "object", "properties": { "total": { "description": "奖励总笔数", "type": "integer" }, "total_bonus": { "description": "奖励汇总金额", "type": "number" }, "video_bonus": { "description": "视频上传", "allOf": [ { "$ref": "#/definitions/response.SysBonusDetail" } ] } } }, "response.SysMissionDesc": { "type": "object", "properties": { "achieve_num": { "type": "integer" }, "bonus": { "description": "奖励金额", "type": "number" }, "description": { "description": "描述", "type": "string" }, "description_eng": { "description": "描述英文", "type": "string" }, "status": { "description": "状态 1待发放 2已发放 3已领取 0未完成", "type": "integer" }, "title": { "description": "任务标题", "type": "string" }, "title_eng": { "description": "任务标题英文", "type": "string" } } }, "response.UserStatistics": { "type": "object", "properties": { "claim_mission_num": { "description": "领取任务数量", "type": "integer" }, "collection_mission_num": { "description": "收藏任务数量", "type": "integer" }, "platform_num": { "description": "认证平台数量", "type": "integer" } } } }, "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", "name": "x-token", "in": "header" } } }