D黑奴背锅 文档中心
修仙 API宗门
POST/business/xiuxian/sect/donate

向宗门捐献灵石,提升宗门资金和个人贡献。

注意事项

  • 灵石不足返回 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/sect/donate" \  -H "Content-Type: application/json" \  -d '{    "amount": 0  }'
{  "code": 0,  "message": "宗门捐献成功",  "data": {    "contribution": 1700  },  "time": 1779502528}