Authorization: Bearer ********************
{
"contact_name": "张三",
"phone": "18223350967",
"address": "重庆市渝北区线外城市花园3栋20楼",
"province_id": 1,
"city_id": 2,
"area_id": 3,
"is_default": true
}
curl --location --request POST '/api/user/address' \
--header 'Accept;' \
--header 'X-Requested-With;' \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_name": "张三",
"phone": "18223350967",
"address": "重庆市渝北区线外城市花园3栋20楼",
"province_id": 1,
"city_id": 2,
"area_id": 3,
"is_default": true
}'
{"data":{"id":1,"contact_name":"\u5f20\u4e09","phone":"18223350967","address":"\u91cd\u5e86\u5e02\u6e1d\u5317\u533a\u7ebf\u5916\u57ce\u5e02\u82b1\u56ed3\u680b20\u697c","province_id":1,"city_id":2,"area_id":3,"is_default":true},"code":200,"message":"\u6dfb\u52a0\u6210\u529f"}