{
"appid": 11,
"data": {
"baseBody": {
"timestamp": {% mock 'timestamp' , 'ms' %},
"clientVersion": "1.0",
"deviceId": "fa6a91ef9baa242de0b354a212e8cf83",
"osType": "android",
"brand": "XIAOMI",
"model": "MI13"
},
"count": 1,
"reason": "用户消费"
}
}
curl --location --request POST 'https://api.authdog.cn/api/v1/device/reduce-count' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": 11,
"data": {
"baseBody": {
"timestamp": {% mock '\''timestamp'\'' , '\''ms'\'' %},
"clientVersion": "1.0",
"deviceId": "fa6a91ef9baa242de0b354a212e8cf83",
"osType": "android",
"brand": "XIAOMI",
"model": "MI13"
},
"count": 1,
"reason": "用户消费"
}
}'
{
"data": {
"statusCode": 200,
"message": "success",
"data": {
"device": {
"id": 3,
"createdAt": 1680941051183,
"updatedAt": 1680948577000,
"developerId": 3,
"appid": 11,
"deviceId": "fa6a91ef9baa242de0b354a212e8cf83",
"otherInfo": "",
"brand": "XIAOMI",
"model": "MI13",
"osType": "android",
"status": "normal",
"balance": 0,
"expirationTime": 1684483486000,
"trialExpiration": 1680941051000,
"lastLoginTime": 1680941051000
},
"result": true
},
"timestamp": 1680948581295,
"currentDeviceId": "fa6a91ef9baa242de0b354a212e8cf83"
}
}