当前为2.0版本。官方API后端仅供内部使用!©2026 P.C.T.G All Rights Reserved.
won
Authorization: Bearer ********************
{ "game_id": "abcde-uuid-mnpqrst", "difficulty": "easy", "won": true, "rounds": 3 }
curl --location 'http://127.0.0.1:8000/api/leaderboard/daily/submit' \ --header 'Authorization: Bearer <token>' \ --header 'Cookie: cw_lb_token=LVoJxxEZVc2ujgJe93yMV3EtmoI5jmEiHTFIzzdj1mE' \ --header 'Content-Type: application/json' \ --data '{ "game_id": "abcde-uuid-mnpqrst", "difficulty": "easy", "won": true, "rounds": 3 }'
{ "code": 200, "status": "success", "message": "今日成绩已提交", "duplicate": false }