背包管理

查询用户所有背包礼物

查询用户背包中的所有礼物及数量

get/api/backpack/gift/list

Request

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

Query parameters

uidinteger 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.