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

升级或更换储物戒,提升容量。

注意事项

  • 灵石不足返回 code=1,message='修仙资源不足'。
  • 容量不足返回 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/upgrade_ring" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "code": 0,  "message": "更换储物戒成功",  "data": {    "user_id": "b1_p1"  },  "time": 1779502528}