请及时更新项目!
curl --location --request POST 'http://101.43.142.153/api/user' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"username": "string",
"password": "string",
"role": "NORMAL",
"createTime": "new Date()",
"idNumber": "string",
"addressList": "new ArrayList<>()",
"loanInfo": {
"id": 0,
"name": "string",
"bank": "string",
"phone": "string",
"status": "string",
"contactPersonId": 0,
"contactPersonName": "string",
"contactPersonIdNumber": "string",
"loanAmount": 0,
"intentionPeriod": "string"
}
}'
{
"code": 0,
"message": "",
"data": {
"id": 0,
"username": "",
"password": "",
"address": "",
"role": "",
"addressList": [
{
"id": 0,
"user": {
"id": 0,
"username": "",
"password": "",
"address": "",
"role": "",
"addressList": [
{
"id": 0,
"user": {},
"receiver_name": "",
"phone": "",
"detail": ""
}
]
},
"receiver_name": "",
"phone": "",
"detail": ""
}
]
}
}