---
title: "查询用户送礼特性"
method: GET
path: "/api/gift/sendInfo"
tags: ["礼物模块"]
---

# 查询用户送礼特性

`GET /api/gift/sendInfo`

## Request

- Base URL: `http://api.oloo.live`
- URL: `http://api.oloo.live/api/gift/sendInfo`
- Auth: none declared

查询用户是否支持自怼功能及是否屏蔽幸运礼物，需要加密

## Query parameters

- `uid` integer, required
- `roomUid` integer

## Response `200`

查询成功

- WebServiceMessageUserGiftFeatureResult
  - `code` integer
  - `data` UserGiftFeatureResult: 用户送礼特性结果
    - `sendSelf` boolean: 是否可以自怼（给自己送礼）
    - `blockLuckyGift` boolean: 是否屏蔽幸运礼物/多倍礼物
  - `message` string
  - `time` integer

## Other responses

- `400`: 参数错误
- `500`: 服务器错误

---

[API](https://skmtc.dev/oloo/apis/oloo-api.md) - [All operations](https://skmtc.dev/oloo/apis/oloo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oloo/apis/oloo-api/revisions/ada91d3a60e4?raw)
