D黑奴背锅 文档中心
修仙 API世界
POST/business/xiuxian/world/buy_blessed_land

消耗灵石购买一个洞天福地。

注意事项

  • 已有洞天返回 code=1,message='修仙数据已存在或今日已操作'。
  • 灵石不足返回 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/world/buy_blessed_land" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "code": 0,  "message": "购买洞天成功",  "data": {    "name": "灵泉洞天",    "level": 1  },  "time": 1779502528}