D黑奴背锅 文档中心
修仙 API角色
POST/business/xiuxian/player/claim_mail

领取指定邮件的附件奖励。

注意事项

  • 邮件不存在或已领取返回 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/player/claim_mail" \  -H "Content-Type: application/json" \  -d '{    "mail_id": 0  }'
{  "code": 0,  "message": "领取修仙邮件成功",  "data": {    "profile": {      "user_id": "b1_p1",      "gold": 1200    },    "reward": {      "gold": 100    }  },  "time": 1779502528}