Authorization: Bearer ********************
{
"username": "string",
"email": "string",
"email_code": 0,
"qq": 0,
"origin_password": "string",
"new_password": "string"
}
curl --location --request PATCH 'http://127.0.0.1:6810/api/profile' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "string",
"email": "string",
"email_code": 0,
"qq": 0,
"origin_password": "string",
"new_password": "string"
}'
{
"code": "SUCCESS_EDIT_CURRENT_PROFILE",
"message": "编辑用户信息成功",
"data": {
"username": "Half_nothing",
"email": "Half_nothing@163.com",
"cid": 2352,
"qq": 5799534395,
"rating": 12,
"total_pilot_time": 0,
"total_atc_time": 653,
"permission": 0
}
}