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

查询指定物品的配置信息。

注意事项

  • 公开接口。物品不存在返回 code=1,message='修仙数据不存在'。

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

name*string

物品名称。

Response Body

application/json

curl -X GET "https://example.com/business/xiuxian/inventory/get_item_info?name=string"
{  "code": 0,  "message": "获取物品信息成功",  "data": {    "name": "回灵丹",    "kind": "丹药",    "description": "恢复灵力",    "price": 50  },  "time": 1779502528}