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.

2897 lines
69 KiB

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