背包管理

查询背包礼物数量

查询指定用户的某个礼物在背包中的数量

get/api/backpack/gift/count

Request

  • Base URL
    http://api.oloo.live
  • URL
    http://api.oloo.live/api/backpack/gift/count
  • Auth
    none declared

Query parameters

uidinteger required

用户ID

giftIdinteger required

礼物ID

Response

OK

codeinteger
messagestring
timeinteger

Example response

{
  "data": {
    "uid": 123456,
    "giftId": 1001,
    "giftName": "玫瑰花",
    "imgUrl": "https://cdn.example.com/gift/rose.png",
    "price": 10,
    "count": 5
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.