D黑奴背锅 文档中心
修仙 API战斗
POST/business/xiuxian/combat/spar

与其他玩家友好切磋,无赌注。

注意事项

  • 冷却中返回 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/combat/spar" \  -H "Content-Type: application/json" \  -d '{    "target_business_user_id": 0  }'
{  "code": 0,  "message": "切磋完成",  "data": {    "winner": "b1_p1",    "rounds": 2  },  "time": 1779502528}