Request
Body Params application/json
{
"id": "GTC5090",
"count": 1
}
Request Code Samples
curl --location --request POST '/buy_item' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GTC5090",
"count": 1
}'
Responses
application/json {
"message": "购买成功",
"item": "2nd 惊喜生日蛋糕",
"count": 1,
"totalPrice": 753,
"remainingMoney": -725241.0837084812
}
Modified at 2026-05-03 11:39:42