收藏
回答

查询购买资源包的用量情况,是否可以用all减去effectiveUse以此获得剩余可以资源包?

查询链接https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/charge/api/charge_get_usage_detail.html#%E8%B0%83%E7%94%A8%E7%A4%BA%E4%BE%8B

返回参数:{"errcode":0,"all":"1000","effectiveAll":"0","effectiveUse":"0","total":1,"detailList":[{"pkgId":"","startTime":1692979200,"endTime":4294967295,"used":"0","all":"1000","status":2,"spuId":"10000077","skuId":"20000093","source":1}]}

all当前解释为生效可用资源包总量,是否等同于消耗也不会减少,用all减去effectiveUse以此获得剩余可以资源包

回答关注问题邀请回答
收藏

1 个回答

  • Summer✨
    Summer✨
    2023-08-23

    你好,是的

    2023-08-23
    有用 1
    回复
登录 后发表内容