D黑奴背锅 文档中心
修仙 API成就
POST/business/xiuxian/achievement/claim

领取已完成成就的奖励。

注意事项

  • 成就未完成或已领取返回 code=1。

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/achievement/claim" \  -H "Content-Type: application/json" \  -d '{    "key": "string"  }'
{  "code": 0,  "message": "领取成就奖励成功",  "data": {    "profile": {      "player": {        "gold": 1500      }    },    "reward": {      "gold": 500,      "experience": 200    }  },  "time": 1779502528}