兑换码
curl -X GET "https://loading/api/redemption/"Empty
创建兑换码
Request Body
application/json
id?integer
name?string
key?string
status?integer
quota?integer
created_time?integer
redeemed_time?integer
Response Body
curl -X POST "https://loading/api/redemption/" \ -H "Content-Type: application/json" \ -d '{}'Empty
更新兑换码
Request Body
application/json
id?integer
name?string
key?string
status?integer
quota?integer
created_time?integer
redeemed_time?integer
Response Body
curl -X PUT "https://loading/api/redemption/" \ -H "Content-Type: application/json" \ -d '{}'Empty
curl -X GET "https://loading/api/redemption/search"Empty
curl -X GET "https://loading/api/redemption/0"Empty
curl -X DELETE "https://loading/api/redemption/0"Empty
curl -X DELETE "https://loading/api/redemption/invalid"Empty