文档
测试

道具配置列表

POST
/api/v1/magicShopItems

请求参数

参数名
类型
描述
必填
type
string
过滤道具类型。card道具卡,headFrame头像框,chatFrame聊天气泡
可选

响应参数

参数名
类型
描述
必填
list
array
数据列表
必填
_id
string
道具ID
必填
name
string
道具名字
必填
desc
string
描述
必填
coin
int
所需金币
必填
type
string
道具类型,card道具卡,headFrame头像框,chatFrame聊天气泡
必填
img
string
图片在cos上的名字,存储在/magicShop目录
必填
days
int
有效天数。仅头像框和聊天气泡有
可选
state
string
状态,1上架,0或其他下架
必填
cantSend
string
不允许赠送,1是,0否
可选
limitLevel
int
限制等级
可选
limitConsumeLevel
int
限制财力等级
可选
limitHeartLevel
int
限制魅力等级
可选