D黑奴背锅 文档中心
修仙 API背包
POST/business/xiuxian/inventory/gift_item

向其他玩家赠予物品。

注意事项

  • 目标用户不存在返回 code=1,message='目标 business 用户不存在'。
  • 目标未创建修仙角色返回 code=1,message='目标玩家尚未创建修仙角色'。

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/business/xiuxian/inventory/gift_item" \  -H "Content-Type: application/json" \  -d '{    "receiver_business_user_id": 0,    "name": "string",    "count": 0  }'
{  "code": 0,  "message": "赠予成功",  "data": {},  "time": 1779502528}