文档中心 > API类目 > 互动小游戏API

qimen.alibaba.fc.mallx.game.prop.issue (猫猫乐园小游戏道具发放)

猫猫乐园小游戏道具发放

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
openId String 必须 游戏用户openid 游戏用户openid
idempotentId String 必须 请求幂等id 请求幂等id
propId String 必须 道具id 道具id
propAmount String 必须 10 道具数量
channel String 必须 发放渠道 发放渠道

响应参数

名称 类型 示例值 描述
success Boolean true 执行成功
bizCode String SUCCESS 响应码
bizMsg String success 响应信息
idempotentId String 请求幂等id 请求幂等id
propId String 道具id 道具id
propAmount String 10 道具数量

请求示例

1
{"openId":"游戏用户openid","propId":"道具id","idempotentId":"请求幂等id","channel":"发放渠道","propAmount":"10"}

响应示例

1
2
3
4
5
6
7
8
{
    "success":true,
    "bizCode":"SUCCESS",
    "bizMsg":"success",
    "idempotentId":"请求幂等id",
    "propId":"道具id",
    "propAmount":"10"
}

验签示例

1
{"bizMsg":"Illegal request","success":"不等于true","bizCode":"sign-check-failure"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部