修仙 API经济
POST
/business/xiuxian/economy/bank_withdraw从修仙银行取出灵石。
注意事项
- 存款不足返回 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/economy/bank_withdraw" \ -H "Content-Type: application/json" \ -d '{ "amount": 0 }'{ "code": 0, "message": "取出灵石成功", "data": { "profile": { "user_id": "b1_p1", "gold": 1500 }, "bank": { "deposit": 5500 } }, "time": 1779502528}