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

抢占一个空闲的灵眼。

注意事项

  • 灵眼不存在返回 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/claim_spirit_eye" \  -H "Content-Type: application/json" \  -d '{    "eye_id": 0  }'
{  "code": 0,  "message": "抢占灵眼成功",  "data": {    "eye_id": 1,    "name": "东灵眼"  },  "time": 1779502528}