You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11745 lines
384 KiB
11745 lines
384 KiB
9 months ago
|
{
|
||
|
"swagger": "2.0",
|
||
|
"info": {
|
||
|
"title": "Swagger Example API",
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/application/createApplication": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Applicationv0.0.0"
|
||
|
],
|
||
|
"summary": "创建Application",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "创建Application",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Application"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/application/deleteApplication": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Applicationv0.0.0"
|
||
|
],
|
||
|
"summary": "删除Application",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "删除Application",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Application"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/application/deleteApplicationByIds": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Applicationv0.0.0"
|
||
|
],
|
||
|
"summary": "批量删除Application",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "批量删除Application",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/application/findApplication": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Applicationv0.0.0"
|
||
|
],
|
||
|
"summary": "用id查询Application",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用id查询Application",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Application"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/application/getApplicationList": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Applicationv0.0.0"
|
||
|
],
|
||
|
"summary": "分页获取Application列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取Application列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.ApplicationSearch"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/application/updateApplication": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Applicationv0.0.0"
|
||
|
],
|
||
|
"summary": "更新Application",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "更新Application",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Application"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/banner": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"banner"
|
||
|
],
|
||
|
"summary": "编辑banner【v1.1.0新增】",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id,data",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.UpdateBanner"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"banner"
|
||
|
],
|
||
|
"summary": "创建banner【v1.1.0新增】",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "data",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.CreateBanner"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/banner/batchDelBanner": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"banner"
|
||
|
],
|
||
|
"summary": "批量删除banner【v1.1.0新增】",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "ids",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/banner/down-data": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"banner"
|
||
|
],
|
||
|
"summary": "下移banner排序【v1.1.0新增】",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"操作成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/banner/list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"banner"
|
||
|
],
|
||
|
"summary": "分页获取banner列表【v1.1.0新增】",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "状态 0=下架 1=上架",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "名称",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/response.BannerListResponse"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/banner/up-data": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"banner"
|
||
|
],
|
||
|
"summary": "上移banner排序【v1.1.0新增】",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id,page,pageSize...",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"操作成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/base/captcha": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Base"
|
||
|
],
|
||
|
"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": [
|
||
|
"Base"
|
||
|
],
|
||
|
"summary": "用户登录",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用户名, 密码, 验证码",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.Login"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"登陆成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/admin-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "平台账单数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.BillData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/admin-fund-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "平台奖励账户数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:进行中 2:已完成 3:已失败",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "transaction_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "uuid",
|
||
|
"name": "user_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.AdminFundData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/admin-fund-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "平台奖励账户列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:进行中 2:已完成 3:已失败",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "transaction_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "uuid",
|
||
|
"name": "user_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.AdminBillFund"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/admin-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "平台账单列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.BillList"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/customer-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "用户账单数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.BillData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/customer-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "用户账单列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.BillList"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/influence-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "网红账单数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.BillData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/influence-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "网红账单列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.BillList"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/seller-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家账单数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.BillData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/seller-fund-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家营销账户数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:进行中 2:已完成 3:已失败",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "transaction_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "uuid",
|
||
|
"name": "user_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.SellerFundData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/seller-fund-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家营销账户记录列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:进行中 2:已完成 3:已失败",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "transaction_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "uuid",
|
||
|
"name": "user_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.SellerBillFund"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/bill/seller-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家账单列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否已到账 1-是 2-否",
|
||
|
"name": "receipt",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.BillList"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/business": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Business"
|
||
|
],
|
||
|
"summary": "用id查询商家",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用id查询Business",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.StoreInfoItem"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Business"
|
||
|
],
|
||
|
"summary": "更新商家",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "更新Business",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SellerStore"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Businessv0.0.0"
|
||
|
],
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Businessv0.0.0"
|
||
|
],
|
||
|
"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": [
|
||
|
"Businessv0.0.0"
|
||
|
],
|
||
|
"summary": "批量删除商家",
|
||
|
"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/list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Business"
|
||
|
],
|
||
|
"summary": "商家列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取商家列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.PageInfo"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SellerStoreInfo"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/business/search": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Business"
|
||
|
],
|
||
|
"summary": "商家搜索",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取商家列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.SearchStore"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SellerStoreInfo"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"category"
|
||
|
],
|
||
|
"summary": "查询单个商品分类",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"category"
|
||
|
],
|
||
|
"summary": "更新分类",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.UpdateCategory"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"category"
|
||
|
],
|
||
|
"summary": "创建分类",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.CreateCategory"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"category"
|
||
|
],
|
||
|
"summary": "删除分类",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/category/children": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"category"
|
||
|
],
|
||
|
"summary": "查询分类下级",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "父id",
|
||
|
"name": "pid",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/category/list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"category"
|
||
|
],
|
||
|
"summary": "商品分类分页",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "层级",
|
||
|
"name": "layer",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "名称",
|
||
|
"name": "name",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/fileUploadAndDownload/breakpointContinue": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"multipart/form-data"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"ExaFileUploadAndDownload"
|
||
|
],
|
||
|
"summary": "断点续传到服务器",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "file",
|
||
|
"description": "an example for breakpoint resume, 断点续传示例",
|
||
|
"name": "file",
|
||
|
"in": "formData",
|
||
|
"required": true
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"切片创建成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/fileUploadAndDownload/findFile": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"multipart/form-data"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"ExaFileUploadAndDownload"
|
||
|
],
|
||
|
"summary": "创建文件",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "file",
|
||
|
"description": "上传文件完成",
|
||
|
"name": "file",
|
||
|
"in": "formData",
|
||
|
"required": true
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"file uploaded, 文件创建成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/fileUploadAndDownload/removeChunk": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"multipart/form-data"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"ExaFileUploadAndDownload"
|
||
|
],
|
||
|
"summary": "删除切片",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "file",
|
||
|
"description": "删除缓存切片",
|
||
|
"name": "file",
|
||
|
"in": "formData",
|
||
|
"required": true
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"缓存切片删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/goods/list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Goods"
|
||
|
],
|
||
|
"summary": "商品列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取商品列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.PageInfo"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.TbGoods4List"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/goods/search": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Goods"
|
||
|
],
|
||
|
"summary": "商品搜索",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取商品列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.PageInfo"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.TbGoods4List"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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/add-video": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "创建任务视频",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.AddMissionVideo"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/claim-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "获取任务领取列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "任务id",
|
||
|
"name": "mission_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:已领取待发货 2:已发货 3:已收货推广中",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "任务标题",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "网红用户ID",
|
||
|
"name": "uuid",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/response.MissionClaimSimpleData"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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": "任务标题",
|
||
|
"name": "mission_title",
|
||
|
"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": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家ID",
|
||
|
"name": "seller_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商品编号",
|
||
|
"name": "spu_no",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 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.MissionClaimOrderDetail"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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/edit-video": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "编辑任务视频",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.EditMissionVideo"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"编辑成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/influencer-summary-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "获取网红任务统计列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "uuid",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.MissionClaimSummary"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/mission": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "获取任务详情",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "id",
|
||
|
"name": "id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.MissionDetail"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/mission-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "获取任务列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否有视频 1:是 2:否",
|
||
|
"name": "has_video",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "佣金类型 1:固定佣金 2:比例抽成",
|
||
|
"name": "hire_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "任务ID",
|
||
|
"name": "mission_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "筛选任务时间",
|
||
|
"name": "mission_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家邮箱",
|
||
|
"name": "seller_email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家ID",
|
||
|
"name": "seller_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:未开始 2:进行中 3:已结束",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "名称",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "视频发布渠道",
|
||
|
"name": "video_channel_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.PageResult"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/recommend/add-data": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission/recommend"
|
||
|
],
|
||
|
"summary": "创建任务推荐关联",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.AddMissionRecommend"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/recommend/batch-del-data": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission/recommend"
|
||
|
],
|
||
|
"summary": "批量删除任务推荐关联",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "ids",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsUReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/recommend/down-data": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission/recommend"
|
||
|
],
|
||
|
"summary": "上移任务推荐排序",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"操作成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/recommend/list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission/recommend"
|
||
|
],
|
||
|
"summary": "分页获取任务推荐列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否有视频 1:是 2:否",
|
||
|
"name": "has_video",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "佣金类型 1:固定佣金 2:比例抽成",
|
||
|
"name": "hire_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "任务ID",
|
||
|
"name": "mission_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "筛选任务时间",
|
||
|
"name": "mission_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家邮箱",
|
||
|
"name": "seller_email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家ID",
|
||
|
"name": "seller_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:未开始 2:进行中 3:已结束",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "名称",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "视频发布渠道",
|
||
|
"name": "video_channel_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/response.MissionRecommendResponse"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/recommend/up-data": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission/recommend"
|
||
|
],
|
||
|
"summary": "上移任务推荐排序",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id,page,pageSize...",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"操作成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/recommend/update-sort": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission/recommend"
|
||
|
],
|
||
|
"summary": "修改任务推荐排序",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/global.BASE_ID_SORT"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"操作成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/send-sys-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": "结束任务",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/stop-detail": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "获取任务结束详情",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "id",
|
||
|
"name": "id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.MissionStopData"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/stop-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "分页获取任务结束申请列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "审核状态 1:待审核 2:审核通过 3:审核不通过 4:已审核=审核通过+审核不通过",
|
||
|
"name": "audit_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "是否有视频 1:是 2:否",
|
||
|
"name": "has_video",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "佣金类型 1:固定佣金 2:比例抽成",
|
||
|
"name": "hire_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "任务ID",
|
||
|
"name": "mission_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "筛选任务时间",
|
||
|
"name": "mission_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家邮箱",
|
||
|
"name": "seller_email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家ID",
|
||
|
"name": "seller_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:未开始 2:进行中 3:已结束",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "名称",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "视频发布渠道",
|
||
|
"name": "video_channel_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/response.MissionStopData"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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": "string",
|
||
|
"description": "时间结束",
|
||
|
"name": "time_end",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "时间起始",
|
||
|
"name": "time_start",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "标题",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.SysMissionReward"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/tag-relation": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "打标签",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.CreateMissionTagRelation"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/mission/video-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"mission"
|
||
|
],
|
||
|
"summary": "获取任务视频列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "佣金类型 1:固定佣金 2:比例抽成",
|
||
|
"name": "hire_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "网红账号",
|
||
|
"name": "mission_claim_by",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "任务ID",
|
||
|
"name": "mission_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "筛选任务时间",
|
||
|
"name": "mission_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家邮箱",
|
||
|
"name": "seller_email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "商家ID",
|
||
|
"name": "seller_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传",
|
||
|
"name": "source_type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "状态 1:未开始 2:进行中 3:已结束",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "名称",
|
||
|
"name": "title",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "视频发布渠道",
|
||
|
"name": "video_channel_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "视频状态 1:待审核 2:审核通过 3:审核不通过",
|
||
|
"name": "video_status",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/response.MissionVideoResponse"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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": "missionTitle",
|
||
|
"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": "pageSize",
|
||
|
"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": "商户编号",
|
||
|
"name": "storeNo",
|
||
|
"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/statistic": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"order"
|
||
|
],
|
||
|
"summary": "获取数据统计",
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.DataStatistics"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/organization/createOrganization": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Organizationv0.0.0"
|
||
|
],
|
||
|
"summary": "创建Organization",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "创建Organization",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Organization"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/organization/deleteOrganization": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Organizationv0.0.0"
|
||
|
],
|
||
|
"summary": "删除Organization",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "删除Organization",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Organization"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/organization/deleteOrganizationByIds": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Organizationv0.0.0"
|
||
|
],
|
||
|
"summary": "批量删除Organization",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "批量删除Organization",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/organization/findOrganization": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Organizationv0.0.0"
|
||
|
],
|
||
|
"summary": "用id查询Organization",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用id查询Organization",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Organization"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/organization/getOrganizationList": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Organizationv0.0.0"
|
||
|
],
|
||
|
"summary": "分页获取Organization列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取Organization列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.OrganizationSearch"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/organization/updateOrganization": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Organizationv0.0.0"
|
||
|
],
|
||
|
"summary": "更新Organization",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "更新Organization",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Organization"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/provider/createProvider": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Providerv0.0.0"
|
||
|
],
|
||
|
"summary": "创建Provider",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "创建Provider",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Provider"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/provider/deleteProvider": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Providerv0.0.0"
|
||
|
],
|
||
|
"summary": "删除Provider",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "删除Provider",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Provider"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/provider/deleteProviderByIds": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Providerv0.0.0"
|
||
|
],
|
||
|
"summary": "批量删除Provider",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "批量删除Provider",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/provider/findProvider": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Providerv0.0.0"
|
||
|
],
|
||
|
"summary": "用id查询Provider",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用id查询Provider",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Provider"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/provider/getProviderList": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Providerv0.0.0"
|
||
|
],
|
||
|
"summary": "分页获取Provider列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取Provider列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.ProviderSearch"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/provider/updateProvider": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"Providerv0.0.0"
|
||
|
],
|
||
|
"summary": "更新Provider",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "更新Provider",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.Provider"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/suser/deleteUser": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/suser/getUserList": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "分页获取用户列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "页码, 每页大小",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.SearchSysUserParams"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/sysOperationRecord/createSysOperationRecord": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysOperationRecord"
|
||
|
],
|
||
|
"summary": "创建SysOperationRecord",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "创建SysOperationRecord",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SysOperationRecord"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/sysOperationRecord/deleteSysOperationRecord": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysOperationRecord"
|
||
|
],
|
||
|
"summary": "删除SysOperationRecord",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "SysOperationRecord模型",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SysOperationRecord"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/sysOperationRecord/deleteSysOperationRecordByIds": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysOperationRecord"
|
||
|
],
|
||
|
"summary": "批量删除SysOperationRecord",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "批量删除SysOperationRecord",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/sysOperationRecord/findSysOperationRecord": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysOperationRecord"
|
||
|
],
|
||
|
"summary": "用id查询SysOperationRecord",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "Id",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SysOperationRecord"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/sysOperationRecord/getSysOperationRecordList": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysOperationRecord"
|
||
|
],
|
||
|
"summary": "分页获取SysOperationRecord列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "页码, 每页大小, 搜索条件",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.SysOperationRecordSearch"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/system/getSystemConfig": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"System"
|
||
|
],
|
||
|
"summary": "获取配置文件内容",
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/system/reloadSystem": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"System"
|
||
|
],
|
||
|
"summary": "重启系统",
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\":0,\"data\":{},\"msg\":\"重启系统成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/system/setSystemConfig": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"System"
|
||
|
],
|
||
|
"summary": "设置配置文件内容",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "设置配置文件内容",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.System"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"设置成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/tags": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"tags"
|
||
|
],
|
||
|
"summary": "编辑标签",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "id,data",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.TagsCommon"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"tags"
|
||
|
],
|
||
|
"summary": "创建标签",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "data",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.TagsCommon"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/tags/batchDelTags": {
|
||
|
"delete": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"tags"
|
||
|
],
|
||
|
"summary": "批量删除标签",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "ids",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.IdsReq"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/tags/list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"tags"
|
||
|
],
|
||
|
"summary": "分页获取标签列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"name": "id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "标签类型 01-任务 02-任务视频 03-网红",
|
||
|
"name": "type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "值",
|
||
|
"name": "value",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.Tags"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/tags/relationTags": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"tags"
|
||
|
],
|
||
|
"summary": "获取关联标签列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "relation_id",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "relation_type",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.TagsDesc"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"tags"
|
||
|
],
|
||
|
"summary": "打标签",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "params",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.CreateTagRelation"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 200, \"data\": {}}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/changePassword": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "用户修改密码",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用户名, 原密码, 新密码",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.ChangePasswordStruct"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/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": "用id查询User",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户id",
|
||
|
"name": "user_id",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.UserSimple"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/getUserInfo": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "获取用户信息",
|
||
|
"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": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户邮箱",
|
||
|
"name": "email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "id_forbidden",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "昵称",
|
||
|
"name": "nick_name",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户手机号",
|
||
|
"name": "phone",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "customer-普通用户 influencer-网红",
|
||
|
"name": "type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "username",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.UserSimple"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"User"
|
||
|
],
|
||
|
"summary": "分页获取系统User列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户邮箱",
|
||
|
"name": "email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "id_forbidden",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "昵称",
|
||
|
"name": "nick_name",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户手机号",
|
||
|
"name": "phone",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "customer-普通用户 influencer-网红",
|
||
|
"name": "type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "username",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.UserSimple"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/getUserSelectList": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "获取用户选择器列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "nickName",
|
||
|
"name": "nickName",
|
||
|
"in": "query",
|
||
|
"required": true
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/platformAuth": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"User"
|
||
|
],
|
||
|
"summary": "获取网红认证审核记录",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户邮箱",
|
||
|
"name": "email",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "id_forbidden",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "昵称",
|
||
|
"name": "nick_name",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "用户手机号",
|
||
|
"name": "phone",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "平台",
|
||
|
"name": "platform",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "认证状态 0:未认证 1:已认证 2:认证失败",
|
||
|
"name": "status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "customer-普通用户 influencer-网红",
|
||
|
"name": "type",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"name": "username",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.PlatformAuthSimple"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"User"
|
||
|
],
|
||
|
"summary": "网红认证审核",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取User列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.PlatformAuthCheck"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/register": {
|
||
|
"post": {
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "用户注册账号",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用户名, 昵称, 密码, 角色ID,姓名,手机",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SysUser"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"注册成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/setUserAuthorities": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "设置用户权限",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用户UUID, 角色ID",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.SetUserAuthorities"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/setUserAuthority": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "设置用户权限",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "用户UUID, 角色ID",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.SetUserAuth"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/setUserInfo": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"SysUser"
|
||
|
],
|
||
|
"summary": "设置用户信息",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "ID, 用户名, 昵称, 头像链接",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/model.SysUser"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/user/userStatus": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"ApiKeyAuth": []
|
||
|
}
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"tags": [
|
||
|
"User"
|
||
|
],
|
||
|
"summary": "用户禁用启用",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "分页获取User列表",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.UserStatus"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/admin-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "平台提现数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "审核状态 0:待审核 1:审核通过 2:审核未通过",
|
||
|
"name": "check_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "处理状态 0:待处理 1:已处理",
|
||
|
"name": "deal_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.BkbData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/admin-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "平台提现列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "审核状态 0:待审核 1:审核通过 2:审核未通过",
|
||
|
"name": "check_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "处理状态 0:待处理 1:已处理",
|
||
|
"name": "deal_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.Withdrawal"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/influence-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "网红提现数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "审核状态 0:待审核 1:审核通过 2:审核未通过",
|
||
|
"name": "check_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "处理状态 0:待处理 1:已处理",
|
||
|
"name": "deal_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.InfluenceWithdrawalData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/influence-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "网红提现列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "审核状态 0:待审核 1:审核通过 2:审核未通过",
|
||
|
"name": "check_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "处理状态 0:待处理 1:已处理",
|
||
|
"name": "deal_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.Withdrawal"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/seller-data": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家提现数据",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "审核状态 0:待审核 1:审核通过 2:审核未通过",
|
||
|
"name": "check_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "处理状态 0:待处理 1:已处理",
|
||
|
"name": "deal_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/response.SellerWithdrawalData"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/seller-examine": {
|
||
|
"post": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家提现审核",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "data...",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.ExamineWithdrawal"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/seller-list": {
|
||
|
"get": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "商家提现列表",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "审核状态 0:待审核 1:审核通过 2:审核未通过",
|
||
|
"name": "check_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "处理状态 0:待处理 1:已处理",
|
||
|
"name": "deal_status",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "结束时间",
|
||
|
"name": "end_time",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "页码",
|
||
|
"name": "page",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"description": "每页大小",
|
||
|
"name": "pageSize",
|
||
|
"in": "query"
|
||
|
},
|
||
|
{
|
||
|
"type": "string",
|
||
|
"description": "开始时间",
|
||
|
"name": "start_time",
|
||
|
"in": "query"
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.Withdrawal"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"/withdrawal/status": {
|
||
|
"put": {
|
||
|
"security": [
|
||
|
{
|
||
|
"Bearer": []
|
||
|
}
|
||
|
],
|
||
|
"tags": [
|
||
|
"bill"
|
||
|
],
|
||
|
"summary": "手动提现打款状态",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"description": "data...",
|
||
|
"name": "data",
|
||
|
"in": "body",
|
||
|
"schema": {
|
||
|
"$ref": "#/definitions/request.TransferResult"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "{\"code\": 0, \"data\": [...]}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"201": {
|
||
|
"description": "{\"code\": 1, \"message\": \"\"}",
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"definitions": {
|
||
|
"config.AliyunOSS": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"accessKeyId": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"accessKeySecret": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"bucketName": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"bucketUrl": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"endpoint": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Autocode": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"root": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"server": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"serverApi": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"serverInitialize": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"serverModel": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"serverRequest": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"serverRouter": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"serverService": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"transferRestart": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"web": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"webApi": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"webFlow": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"webForm": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"webTable": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Captcha": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"imgHeight": {
|
||
|
"description": "验证码高度",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"imgWidth": {
|
||
|
"description": "验证码宽度",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"keyLong": {
|
||
|
"description": "验证码长度",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Casbin": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"modelPath": {
|
||
|
"description": "存放casbin模型的相对路径",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Detail": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"compareField": {
|
||
|
"description": "需要比较时间的字段",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"interval": {
|
||
|
"description": "时间间隔",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tableName": {
|
||
|
"description": "需要清理的表名",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Email": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"from": {
|
||
|
"description": "收件人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"host": {
|
||
|
"description": "服务器地址",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"isSSL": {
|
||
|
"description": "是否SSL",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"nickname": {
|
||
|
"description": "昵称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"port": {
|
||
|
"description": "端口",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"secret": {
|
||
|
"description": "密钥",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"to": {
|
||
|
"description": "收件人:多个以英文逗号分隔",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Excel": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"dir": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.GormSettings": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"settings": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/config.Settings"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.JPush": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"allUserSign": {
|
||
|
"description": "所有用户标签",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"androidIntent": {
|
||
|
"description": "安卓厂商通道包名",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"appkey": {
|
||
|
"description": "appkey",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"secret": {
|
||
|
"description": "密钥",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.JWT": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"bufferTime": {
|
||
|
"description": "缓冲时间",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"expiresTime": {
|
||
|
"description": "过期时间",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"signingKey": {
|
||
|
"description": "jwt签名",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Local": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"path": {
|
||
|
"description": "本地文件路径",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Minio": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"accessKeyID": {
|
||
|
"description": "用户ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"endpoint": {
|
||
|
"description": "端点",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"secretAccessKey": {
|
||
|
"description": "密钥",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"useSSL": {
|
||
|
"description": "是否使用ssl",
|
||
|
"type": "boolean"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Mysql": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"config": {
|
||
|
"description": "高级配置",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"dbname": {
|
||
|
"description": "数据库名",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"logMode": {
|
||
|
"description": "是否开启Gorm全局日志",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"logZap": {
|
||
|
"description": "是否通过zap写入日志文件",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"maxIdleConns": {
|
||
|
"description": "空闲中的最大连接数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"maxOpenConns": {
|
||
|
"description": "打开到数据库的最大连接数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"password": {
|
||
|
"description": "数据库密码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"path": {
|
||
|
"description": "服务器地址:端口",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"username": {
|
||
|
"description": "数据库用户名",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Paypal": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"cancel-url": {
|
||
|
"description": "取消支付跳转",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"client-id": {
|
||
|
"description": "用户ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"env": {
|
||
|
"description": "端点",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"notify-url": {
|
||
|
"description": "支付结果通知",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"return-url": {
|
||
|
"description": "支付完成跳转",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"secret": {
|
||
|
"description": "密钥",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Qiniu": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"accessKey": {
|
||
|
"description": "秘钥AK",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"bucket": {
|
||
|
"description": "空间名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"imgPath": {
|
||
|
"description": "CDN加速域名",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"secretKey": {
|
||
|
"description": "秘钥SK",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"useCdnDomains": {
|
||
|
"description": "上传是否使用CDN上传加速",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"useHttps": {
|
||
|
"description": "是否使用https",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"zone": {
|
||
|
"description": "存储区域",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Redis": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"addr": {
|
||
|
"description": "服务器地址:端口",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"db": {
|
||
|
"description": "redis的哪个数据库",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"password": {
|
||
|
"description": "密码",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Server": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"aliyunOSS": {
|
||
|
"$ref": "#/definitions/config.AliyunOSS"
|
||
|
},
|
||
|
"autoCode": {
|
||
|
"description": "auto",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/config.Autocode"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"captcha": {
|
||
|
"$ref": "#/definitions/config.Captcha"
|
||
|
},
|
||
|
"casbin": {
|
||
|
"$ref": "#/definitions/config.Casbin"
|
||
|
},
|
||
|
"email": {
|
||
|
"$ref": "#/definitions/config.Email"
|
||
|
},
|
||
|
"excel": {
|
||
|
"$ref": "#/definitions/config.Excel"
|
||
|
},
|
||
|
"gormSettings": {
|
||
|
"$ref": "#/definitions/config.GormSettings"
|
||
|
},
|
||
|
"jpush": {
|
||
|
"$ref": "#/definitions/config.JPush"
|
||
|
},
|
||
|
"jwt": {
|
||
|
"$ref": "#/definitions/config.JWT"
|
||
|
},
|
||
|
"local": {
|
||
|
"$ref": "#/definitions/config.Local"
|
||
|
},
|
||
|
"minio": {
|
||
|
"description": "oss",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/config.Minio"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"mysql": {
|
||
|
"description": "gorm",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/config.Mysql"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"paypal": {
|
||
|
"$ref": "#/definitions/config.Paypal"
|
||
|
},
|
||
|
"qiniu": {
|
||
|
"$ref": "#/definitions/config.Qiniu"
|
||
|
},
|
||
|
"redis": {
|
||
|
"$ref": "#/definitions/config.Redis"
|
||
|
},
|
||
|
"system": {
|
||
|
"$ref": "#/definitions/config.System"
|
||
|
},
|
||
|
"tencentCOS": {
|
||
|
"$ref": "#/definitions/config.TencentCOS"
|
||
|
},
|
||
|
"timer": {
|
||
|
"$ref": "#/definitions/config.Timer"
|
||
|
},
|
||
|
"zap": {
|
||
|
"$ref": "#/definitions/config.Zap"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Settings": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"bindTables": {
|
||
|
"type": "array",
|
||
|
"items": {}
|
||
|
},
|
||
|
"dsnName": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.System": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"addr": {
|
||
|
"description": "端口值",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"dbType": {
|
||
|
"description": "数据库类型:mysql(默认)|sqlite|sqlserver|postgresql",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"env": {
|
||
|
"description": "环境值",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"ossType": {
|
||
|
"description": "Oss类型",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"useMultipoint": {
|
||
|
"description": "多点登录拦截",
|
||
|
"type": "boolean"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.TencentCOS": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"baseURL": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"bucket": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"pathPrefix": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"region": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"secretID": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"secretKey": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Timer": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"detail": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/config.Detail"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"description": "CRON表达式",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"start": {
|
||
|
"description": "是否启用",
|
||
|
"type": "boolean"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"config.Zap": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"director": {
|
||
|
"description": "日志文件夹",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"encodeLevel": {
|
||
|
"description": "编码级",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"format": {
|
||
|
"description": "输出",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"level": {
|
||
|
"description": "级别",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"linkName": {
|
||
|
"description": "软链接名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"logInConsole": {
|
||
|
"description": "输出控制台",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"prefix": {
|
||
|
"description": "日志前缀",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"showLine": {
|
||
|
"description": "显示行",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"stacktraceKey": {
|
||
|
"description": "栈名",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"global.BASE_ID_SORT": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"sort": {
|
||
|
"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"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"currency": {
|
||
|
"description": "币种 USD:美元",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"idCard": {
|
||
|
"description": "身份证",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"is_default": {
|
||
|
"description": "是否为默认 0:非默认 1:默认",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"phone": {
|
||
|
"description": "手机号",
|
||
|
"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.AdminBillFund": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"influencer": {
|
||
|
"description": "网红信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.InfluencerUserClaimView"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"price": {
|
||
|
"description": "金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"related_id": {
|
||
|
"description": "关联id 任务id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"remark": {
|
||
|
"description": "备注",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:进行中 2:已完成 3:已失败",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"transaction_id": {
|
||
|
"description": "交易编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"transaction_type": {
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.Application": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"appid": {
|
||
|
"description": "应用ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"clientID": {
|
||
|
"description": "客户端ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"clientSecret": {
|
||
|
"description": "客户端密钥",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"logo": {
|
||
|
"description": "应用logo",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "应用名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"organization": {
|
||
|
"description": "组织",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"owner": {
|
||
|
"description": "用户所属",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"provider": {
|
||
|
"description": "提供者",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.BillList": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"order_id": {
|
||
|
"description": "订单号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"platform": {
|
||
|
"description": "平台 seller / customer / influencer",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"price": {
|
||
|
"description": "金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"remark": {
|
||
|
"description": "备注",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"transaction_id": {
|
||
|
"description": "交易编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user": {
|
||
|
"description": "用户信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.UserView"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "用户id",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.Chain": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"address": {
|
||
|
"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": {
|
||
|
"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": "TagsStr interface{} `gorm:\"-\" json:\"tags\"` //个人标签",
|
||
|
"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"
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.MissionClaimOrderGoods": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"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.MissionClaimSummary": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"bonus": {
|
||
|
"description": "佣金",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"claim_no": {
|
||
|
"description": "领取任务编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"count": {
|
||
|
"description": "接任务数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"create_by": {
|
||
|
"description": "网红ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"first_claim_at": {
|
||
|
"description": "首次领取任务时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"influencer": {
|
||
|
"description": "网红信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.InfluencerUserView"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"order_num": {
|
||
|
"description": "订单数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"platform": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"transit_bonus": {
|
||
|
"description": "在途佣金",
|
||
|
"type": "number"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.MissionClaimVideo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"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": {
|
||
|
"description": "审核理由",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"source_type": {
|
||
|
"description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:待审核 2:审核通过 3:审核不通过",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"update_by": {
|
||
|
"description": "修改人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"description": "视频上传地址",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.MissionClaimView": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"claim_no": {
|
||
|
"description": "领取任务编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"create_by": {
|
||
|
"description": "网红uuid",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"mission_id": {
|
||
|
"description": "任务id",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_title": {
|
||
|
"description": "任务标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user": {
|
||
|
"description": "网红信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.UserView"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.MissionClaimWorks": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"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": {
|
||
|
"claim_days": {
|
||
|
"description": "任务完成天数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"claim_demands": {
|
||
|
"description": "任务拍摄要求",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"claim_num": {
|
||
|
"description": "接任务人数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"claim_stock": {
|
||
|
"description": "可接任务库存",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"seller": {
|
||
|
"$ref": "#/definitions/model.SellerStoreInfo"
|
||
|
},
|
||
|
"start_time": {
|
||
|
"description": "任务起始时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:未开始 2:进行中 3:已结束",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"store_no": {
|
||
|
"description": "店铺编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tags": {
|
||
|
"description": "标签",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video_channel_ids": {
|
||
|
"description": "视频发布渠道,多个渠道英文逗号连接",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video_claim_num": {
|
||
|
"description": "关联视频数量",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"video_country_id": {
|
||
|
"description": "视频发布国家",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.MissionRecommend": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"relation_id": {
|
||
|
"description": "关联ID,任务视频ID,添加视频只需要传relationId",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"sort": {
|
||
|
"description": "倒序 //排序",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:上架 2:下架",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.OrderAddress": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"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": {
|
||
|
"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"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.OrderDetail": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"IAmount": {
|
||
|
"description": "网红佣金",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"SAmount": {
|
||
|
"description": "入账",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"address": {
|
||
|
"description": "地址",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.OrderAddress"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"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": {
|
||
|
"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"
|
||
|
},
|
||
|
"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": {
|
||
|
"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"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.OrderList": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"IAmount": {
|
||
|
"description": "网红佣金",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"SAmount": {
|
||
|
"description": "入账",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"address": {
|
||
|
"description": "地址",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.OrderAddress"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"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.Organization": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"code": {
|
||
|
"description": "组织编码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "组织名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"owner": {
|
||
|
"description": "组织所属",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.Platform": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"auth_msg": {
|
||
|
"description": "认证信息",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"auth_time": {
|
||
|
"description": "认证时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"check_user": {
|
||
|
"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.PlatformAuthSimple": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"auth_msg": {
|
||
|
"description": "认证信息",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"auth_time": {
|
||
|
"description": "认证时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"check_user": {
|
||
|
"description": "审核人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"created_at": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"image": {
|
||
|
"description": "图片",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"is_auth": {
|
||
|
"description": "是否认证 0:未认证 1:已认证 2:认证失败",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"platform": {
|
||
|
"description": "平台",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"platformName": {
|
||
|
"description": "平台名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "认证状态 0:未认证 1:已认证 2:认证失败",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tag_relation": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.TagRelationDesc"
|
||
|
}
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"url": {
|
||
|
"description": "主页地址",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user": {
|
||
|
"$ref": "#/definitions/model.UserSimple"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "用户ID",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.Provider": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"auth_uri": {
|
||
|
"description": "认证URI",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"category": {
|
||
|
"description": "提供者分类 1-社交 2-支付 3-媒体 4-其他",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"client_id": {
|
||
|
"description": "客户端ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"client_secret": {
|
||
|
"description": "客户端密钥",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"code": {
|
||
|
"description": "提供者代码 google facebook twitter tiktok",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "提供者名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"owner": {
|
||
|
"description": "用户所属",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"redirect_uri": {
|
||
|
"description": "重定向URI",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"scope": {
|
||
|
"description": "作用域",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"token_uri": {
|
||
|
"description": "令牌URI",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user_info_uri": {
|
||
|
"description": "用户信息URI",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.SellerBillFund": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission": {
|
||
|
"description": "领取任务信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.MissionClaimView"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"price": {
|
||
|
"description": "金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"related_id": {
|
||
|
"description": "关联id 任务id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"remark": {
|
||
|
"description": "备注",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"seller": {
|
||
|
"description": "店铺信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.StoreInfo"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:进行中 2:已完成 3:已失败",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"transaction_id": {
|
||
|
"description": "交易编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"transaction_type": {
|
||
|
"description": "类型 1-支出 2-收入",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "商家storeNo",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.SellerStore": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"email": {
|
||
|
"description": "店铺联系email(注册账号email)",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"phone": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"store_no": {
|
||
|
"description": "店铺编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "1:个人店铺",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.SellerStoreInfo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"created_at": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"email": {
|
||
|
"description": "店铺联系email(注册账号email)",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"goods_num": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"phone": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"release_mission_nums": {
|
||
|
"description": "发布任务数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"store_no": {
|
||
|
"description": "店铺编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "1:个人店铺",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"valid_mission_num": {
|
||
|
"description": "有效任务数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.StoreInfo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"email": {
|
||
|
"description": "联系方式",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"store_no": {
|
||
|
"description": "店铺编号",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"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": "integer"
|
||
|
},
|
||
|
"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": {
|
||
|
"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.SysMissionReward": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"achieve_num": {
|
||
|
"description": "已完成任务次数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"audit_by": {
|
||
|
"description": "审核人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"bonus": {
|
||
|
"description": "奖励金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"relationId": {
|
||
|
"description": "关联项目id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "订单状态 1-待发放 2-发放中 3-已发放",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "组件id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "奖励类型 1.视频上传 2.信息完善 3.商家任务",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"update_by": {
|
||
|
"description": "更新人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.SysOperationRecord": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"agent": {
|
||
|
"description": "代理",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"apiDescription": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"appid": {
|
||
|
"description": "应用ip",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"body": {
|
||
|
"description": "请求Body",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"error_message": {
|
||
|
"description": "错误信息",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"ip": {
|
||
|
"description": "请求ip",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"latency": {
|
||
|
"description": "延迟",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"method": {
|
||
|
"description": "请求方法",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"path": {
|
||
|
"description": "请求路径",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"resp": {
|
||
|
"description": "响应Body",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "请求状态",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user": {
|
||
|
"$ref": "#/definitions/model.SysUserSimple"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "用户id",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.SysUser": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"authorities": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.SysAuthority"
|
||
|
}
|
||
|
},
|
||
|
"authority": {
|
||
|
"$ref": "#/definitions/model.SysAuthority"
|
||
|
},
|
||
|
"authorityId": {
|
||
|
"description": "用户角色ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"fullName": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"headerImg": {
|
||
|
"description": "用户头像",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"nickName": {
|
||
|
"description": "用户昵称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"phone": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "用户状态",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"userName": {
|
||
|
"description": "用户登录名",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"uuid": {
|
||
|
"description": "用户UUID",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.SysUserSimple": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"nickName": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"userName": {
|
||
|
"description": "用户登录名",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"uuid": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.System": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"config": {
|
||
|
"$ref": "#/definitions/config.Server"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.TagRelationDesc": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"description": "主键",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "标签名称",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.Tags": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"createBy": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "标签类型 01-任务 02-任务视频 03-网红",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updateBy": {
|
||
|
"description": "修改人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user": {
|
||
|
"description": "用户信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.SysUserSimple"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"value": {
|
||
|
"description": "值",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.TagsDesc": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"description": "主键",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"value": {
|
||
|
"description": "值",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.TbGoods4List": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"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.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"
|
||
|
},
|
||
|
"country_code": {
|
||
|
"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"
|
||
|
},
|
||
|
"is_auth": {
|
||
|
"description": "是否认证 0未认证 1已认证",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"nick_name": {
|
||
|
"description": "昵称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"organization": {
|
||
|
"description": "用户所属组织",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"password": {
|
||
|
"description": "用户密码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"password_salt": {
|
||
|
"description": "用户密码盐",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"phone": {
|
||
|
"description": "用户手机号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"platform": {
|
||
|
"description": "平台及地址逗号隔开 eg:(ins:https://baidu.com/user/1,qq:12345678)",
|
||
|
"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": {
|
||
|
"account": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.Account"
|
||
|
}
|
||
|
},
|
||
|
"avatar": {
|
||
|
"description": "头像",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"created_at": {
|
||
|
"description": "创建时间字符串",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"email": {
|
||
|
"description": "用户邮箱",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id_forbidden": {
|
||
|
"description": "是否禁用",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"is_auth": {
|
||
|
"description": "是否认证 0未认证 1已认证",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"source": {
|
||
|
"description": "用户来源",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tags": {
|
||
|
"description": "个人标签",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"uuid": {
|
||
|
"description": "用户uuid编码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"wallet": {
|
||
|
"$ref": "#/definitions/model.Wallet"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.UserView": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"email": {
|
||
|
"description": "邮箱",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"uuid": {
|
||
|
"description": "uuid",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"model.Wallet": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"accountName": {
|
||
|
"description": "户名",
|
||
|
"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": "平台 seller / 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"
|
||
|
},
|
||
|
"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.AddMenuAuthorityInfo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"authorityId": {
|
||
|
"description": "角色ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"menus": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.SysBaseMenu"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.AddMissionRecommend": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"list": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.MissionRecommend"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.AddMissionVideo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"cover": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"mission_id": {
|
||
|
"description": "领取任务id",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"source_type": {
|
||
|
"description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"tag_id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"description": "视频上传地址",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.ApplicationSearch": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"appid": {
|
||
|
"description": "应用ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"clientID": {
|
||
|
"description": "客户端ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"clientSecret": {
|
||
|
"description": "客户端密钥",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"logo": {
|
||
|
"description": "应用logo",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "应用名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"organization": {
|
||
|
"description": "组织",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"owner": {
|
||
|
"description": "用户所属",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"provider": {
|
||
|
"description": "提供者",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"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.ChangePasswordStruct": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"newPassword": {
|
||
|
"description": "新密码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"password": {
|
||
|
"description": "密码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"username": {
|
||
|
"description": "用户名",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.CreateBanner": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"coverUrl": {
|
||
|
"description": "封面图",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"link": {
|
||
|
"description": "链接地址",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"linkType": {
|
||
|
"description": "链接类型 0:内链 1:外链",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"relationId": {
|
||
|
"description": "关联项目id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"relationType": {
|
||
|
"description": "关联类型 01-任务",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 0=下架 1=上架",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "任务-0101 平台奖励页-0102",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.CreateCategory": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"layer": {
|
||
|
"description": "层级",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"pid": {
|
||
|
"description": "父id",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.CreateMissionTagRelation": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"relationId": {
|
||
|
"description": "关联项目id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"relationType": {
|
||
|
"description": "关联类型 01-任务 02-任务视频 03-网红",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tagId": {
|
||
|
"description": "标签id",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.CreateTagRelation": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"relationId": {
|
||
|
"description": "关联项目id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"relationType": {
|
||
|
"description": "关联类型 01-任务 02-任务视频 03-网红",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tagId": {
|
||
|
"description": "标签id",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.EditMissionVideo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"cover": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "任务视频ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"tag_id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"description": "视频上传地址",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.Empty": {
|
||
|
"type": "object"
|
||
|
},
|
||
|
"request.ExamineWithdrawal": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"check_status": {
|
||
|
"description": "审核状态 1:审核通过 2:审核未通过",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"flow_no": {
|
||
|
"description": "流水号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"remark": {
|
||
|
"description": "备注",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"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.IdsUReq": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"ids": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.Login": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"appid": {
|
||
|
"description": "应用ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"captcha": {
|
||
|
"description": "验证码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"captchaId": {
|
||
|
"description": "验证码ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"password": {
|
||
|
"description": "密码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"username": {
|
||
|
"description": "用户名",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.OrganizationSearch": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"code": {
|
||
|
"description": "组织编码",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "组织名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"owner": {
|
||
|
"description": "组织所属",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.PageInfo": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.PlatformAuthCheck": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"auth_msg": {
|
||
|
"description": "认证信息",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"check_result": {
|
||
|
"description": "认证结果 1:认证通过 2:认证失败",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "认证id",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.ProviderSearch": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"auth_uri": {
|
||
|
"description": "认证URI",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"category": {
|
||
|
"description": "提供者分类 1-社交 2-支付 3-媒体 4-其他",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"client_id": {
|
||
|
"description": "客户端ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"client_secret": {
|
||
|
"description": "客户端密钥",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"code": {
|
||
|
"description": "提供者代码 google facebook twitter tiktok",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "提供者名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"owner": {
|
||
|
"description": "用户所属",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"redirect_uri": {
|
||
|
"description": "重定向URI",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"scope": {
|
||
|
"description": "作用域",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"token_uri": {
|
||
|
"description": "令牌URI",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user_info_uri": {
|
||
|
"description": "用户信息URI",
|
||
|
"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"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"path": {
|
||
|
"description": "api路径",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "类型 admin-运营端 seller-商家端",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.SearchStore": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"email": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"end_at": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"start_at": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"store_no": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.SearchSysUserParams": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"authorities": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "#/definitions/model.SysAuthority"
|
||
|
}
|
||
|
},
|
||
|
"authority": {
|
||
|
"$ref": "#/definitions/model.SysAuthority"
|
||
|
},
|
||
|
"authorityId": {
|
||
|
"description": "用户角色ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"fullName": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"headerImg": {
|
||
|
"description": "用户头像",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"nickName": {
|
||
|
"description": "用户昵称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"phone": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "用户状态",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"userName": {
|
||
|
"description": "用户登录名",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"uuid": {
|
||
|
"description": "用户UUID",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.SetUserAuth": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"authorityId": {
|
||
|
"description": "UUID uuid.UUID `json:\"uuid\"` // 用户UUID",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.SetUserAuthorities": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"authorityIds": {
|
||
|
"description": "角色id",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
},
|
||
|
"uuid": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.SysOperationRecordSearch": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"agent": {
|
||
|
"description": "代理",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"apiDescription": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"appid": {
|
||
|
"description": "应用ip",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"body": {
|
||
|
"description": "请求Body",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAtEnd": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAtStart": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"error_message": {
|
||
|
"description": "错误信息",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"ip": {
|
||
|
"description": "请求ip",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"latency": {
|
||
|
"description": "延迟",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"method": {
|
||
|
"description": "请求方法",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"nickName": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"page": {
|
||
|
"description": "页码",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"pageSize": {
|
||
|
"description": "每页大小",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"path": {
|
||
|
"description": "请求路径",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"resp": {
|
||
|
"description": "响应Body",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "请求状态",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"user": {
|
||
|
"$ref": "#/definitions/model.SysUserSimple"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "用户id",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.TagsCommon": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "标签类型 01-任务 02-任务视频 03-网红",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"value": {
|
||
|
"description": "值",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.TransferResult": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"flow_no": {
|
||
|
"description": "流水号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"remark": {
|
||
|
"description": "备注",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:成功 2:失败",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.UpdateBanner": {
|
||
|
"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"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 0=下架 1=上架",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "任务-0101 平台奖励页-0102",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.UpdateCategory": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "名称",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"request.UserStatus": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"forbidden_reason": {
|
||
|
"description": "禁用原因",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"id_forbidden": {
|
||
|
"description": "是否禁用 0:未禁用 1:已禁用",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"user_id": {
|
||
|
"description": "用户id",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.AdminFundData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"expend": {
|
||
|
"description": "支出金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"expend_count": {
|
||
|
"description": "支出笔数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"recharge": {
|
||
|
"description": "充值金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"recharge_count": {
|
||
|
"description": "充值笔数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"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"
|
||
|
},
|
||
|
"relationTitle": {
|
||
|
"description": "关联标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"relationType": {
|
||
|
"description": "关联类型 01-任务",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"sortIndex": {
|
||
|
"description": "序号索引",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 0=下架 1=上架",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "标题",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "任务-0101 平台奖励页-0102",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.BillData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"expend": {
|
||
|
"description": "支出金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"expend_count": {
|
||
|
"description": "支出笔数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"income": {
|
||
|
"description": "收入金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"income_count": {
|
||
|
"description": "收入笔数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.BkbData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"balance": {
|
||
|
"description": "余额账户",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"earn": {
|
||
|
"description": "抽成总额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"reward": {
|
||
|
"type": "number"
|
||
|
},
|
||
|
"turnover": {
|
||
|
"description": "交易额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"unexamined": {
|
||
|
"description": "待处理金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"unexamined_count": {
|
||
|
"description": "待处理笔数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.ChainResp": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"block_adress": {
|
||
|
"description": "所在区块",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"block_height": {
|
||
|
"description": "块高度",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"hash": {
|
||
|
"description": "交易哈希",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"time": {
|
||
|
"description": "上链时间",
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.DataPiece": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"value1": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"value2": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.DataStatistics": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"influence": {
|
||
|
"description": "网红数据",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataStatisticsInfluence"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"store": {
|
||
|
"description": "商家数据",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataStatisticsStore"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"user": {
|
||
|
"description": "用户数据",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataStatisticsUser"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.DataStatisticsInfluence": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"mission_num": {
|
||
|
"description": "任务数",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"platform_num": {
|
||
|
"description": "发布平台数",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"transit_reward": {
|
||
|
"description": "在途佣金",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"used_reward": {
|
||
|
"description": "可用佣金",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.DataStatisticsStore": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"goods_num": {
|
||
|
"description": "商品数",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"mission_num": {
|
||
|
"description": "任务数",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"transit_reward": {
|
||
|
"description": "在途佣金",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"used_cash": {
|
||
|
"description": "可提金额",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.DataStatisticsUser": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"money": {
|
||
|
"description": "总销售额",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"order_num": {
|
||
|
"description": "订单数",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"pay_num": {
|
||
|
"description": "支付笔数",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"visit": {
|
||
|
"description": "访问量",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/response.DataPiece"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.InfluenceWithdrawalData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"balance": {
|
||
|
"description": "账户余额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"unexamined": {
|
||
|
"description": "待处理金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"unexamined_count": {
|
||
|
"description": "待处理笔数",
|
||
|
"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.MissionClaimSimpleData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"achieve_num": {
|
||
|
"description": "已完成商品数量",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"claim_at": {
|
||
|
"description": "接任务时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"claim_days": {
|
||
|
"description": "完成任务时间",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"claim_no": {
|
||
|
"description": "领取任务编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"expire_at": {
|
||
|
"description": "任务推广过期时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"finished": {
|
||
|
"description": "任务完成状态 0:未完成 1:已完成",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"has_video": {
|
||
|
"description": "是否有视频素材 0:没有 1:有",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"hire_money_expect": {
|
||
|
"description": "预计佣金描述",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"hire_type": {
|
||
|
"description": "佣金类型 1:固定佣金 2:比例抽成",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_id": {
|
||
|
"description": "任务id",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_title": {
|
||
|
"description": "任务名称",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"orderMoney": {
|
||
|
"description": "订单金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"orderNum": {
|
||
|
"description": "订单数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"rewardFinished": {
|
||
|
"description": "佣金结算",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"rewardUnfinished": {
|
||
|
"description": "在途佣金",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"sign_url": {
|
||
|
"description": "签约地址",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:已领取待发货 2:已发货 3:已收货推广中",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video": {
|
||
|
"$ref": "#/definitions/model.MissionClaimVideo"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"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.MissionRecommendResponse": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"cover": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"create_by": {
|
||
|
"description": "创建人",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"createdAt": {
|
||
|
"description": "创建时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"end_time": {
|
||
|
"description": "任务结束时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"goods_title": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"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.InfluencerUserView"
|
||
|
},
|
||
|
"mission_id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_status": {
|
||
|
"description": "任务状态",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"relation_id": {
|
||
|
"description": "关联ID,任务视频ID,添加视频只需要传relationId",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"release_channels": {
|
||
|
"description": "发布渠道",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"release_country": {
|
||
|
"description": "发布国家",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"seller": {
|
||
|
"$ref": "#/definitions/model.SellerStoreInfo"
|
||
|
},
|
||
|
"sort": {
|
||
|
"description": "倒序 //排序",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"sort_index": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"start_time": {
|
||
|
"description": "任务起始时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"status": {
|
||
|
"description": "状态 1:上架 2:下架",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"tag": {
|
||
|
"description": "todo 标签系统",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"updatedAt": {
|
||
|
"description": "更新时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.MissionStopData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"claim_num": {
|
||
|
"description": "接任务人数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"description": {
|
||
|
"description": "描述/卖点",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"end_time": {
|
||
|
"description": "任务结束时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"goods": {
|
||
|
"description": "商品信息",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "#/definitions/model.TbGoods4List"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"goods_title": {
|
||
|
"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": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_status": {
|
||
|
"description": "任务状态",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"release_channels": {
|
||
|
"description": "发布渠道",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"release_country": {
|
||
|
"description": "发布国家",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"remark": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"sample_num": {
|
||
|
"description": "样品数量",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"seller": {
|
||
|
"$ref": "#/definitions/model.SellerStoreInfo"
|
||
|
},
|
||
|
"start_time": {
|
||
|
"description": "任务起始时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tag": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.MissionVideoResponse": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"cover": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"end_time": {
|
||
|
"description": "任务结束时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"goods_title": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"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": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"influencer": {
|
||
|
"$ref": "#/definitions/model.InfluencerUserView"
|
||
|
},
|
||
|
"mission_id": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"mission_status": {
|
||
|
"description": "任务状态",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"release_channels": {
|
||
|
"description": "发布渠道",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"release_country": {
|
||
|
"description": "发布国家",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"seller": {
|
||
|
"$ref": "#/definitions/model.SellerStoreInfo"
|
||
|
},
|
||
|
"source_type": {
|
||
|
"description": "类型:1:固定费用上传 2:奖励任务上传 3:后台上传",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"start_time": {
|
||
|
"description": "任务起始时间",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tag": {
|
||
|
"description": "todo 标签系统",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"video_url": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"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.SellerFundData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"expend": {
|
||
|
"description": "支出金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"expend_count": {
|
||
|
"description": "支出笔数",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"lock": {
|
||
|
"description": "锁定金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"lock_count": {
|
||
|
"description": "锁定笔数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.SellerWithdrawalData": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"balance": {
|
||
|
"description": "余额账户",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"fund": {
|
||
|
"description": "营销账户",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"unexamined": {
|
||
|
"description": "待处理金额",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"unexamined_count": {
|
||
|
"description": "待处理笔数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.StoreInfoItem": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"balance": {
|
||
|
"description": "佣金",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"email": {
|
||
|
"description": "店铺联系email(注册账号email)",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"goods_num": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"id": {
|
||
|
"description": "主键ID",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"papayl_name": {
|
||
|
"description": "paypal账号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"phone": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"store_no": {
|
||
|
"description": "店铺编号",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"transit_balance": {
|
||
|
"description": "在途佣金",
|
||
|
"type": "number"
|
||
|
},
|
||
|
"type": {
|
||
|
"description": "1:个人店铺",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"valid_mission_num": {
|
||
|
"description": "有效任务数",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"response.SysAuthorityCopyResponse": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"authority": {
|
||
|
"$ref": "#/definitions/model.SysAuthority"
|
||
|
},
|
||
|
"oldAuthorityId": {
|
||
|
"description": "旧角色ID",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"securityDefinitions": {
|
||
|
"ApiKeyAuth": {
|
||
|
"type": "apiKey",
|
||
|
"name": "x-token",
|
||
|
"in": "header"
|
||
|
}
|
||
|
}
|
||
|
}
|