{
"email": "1303340995@qq.com",
"profilePhotoUrl": "https://source.aring.cc/upload/1646726623796-图片名.png"
}
curl --location --request POST 'https://online-bookstore.aring.cc/api/user/update' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "1303340995@qq.com",
"profilePhotoUrl": "https://source.aring.cc/upload/1646726623796-图片名.png"
}'
{
"code": 0,
"message": "成功",
"data": {
"id": 1,
"username": "aring",
"token": "afa3b86e-dce0-4dbd-ad05-4422db248764",
"email": "1303340995@qq.com",
"auth": 0,
"profilePhotoUrl": "https://source.aring.cc/upload/1646726623796-图片名.png",
"uploadCount": 30
}
}