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