{
"phone": "13888888888",
"country_code": "cn",
"password": "12345678",
"password_confirmation": "12345678",
"code": "123456"
}
curl --location --request POST 'http://127.0.0.1:8000/api/v2/sms/reset_password' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "13888888888",
"country_code": "cn",
"password": "12345678",
"password_confirmation": "12345678",
"code": "123456"
}'
{
"status": "error",
"message": "Phone 不存在。 (还有 1 个错误)",
"data": {
"errors": {
"phone": [
"Phone 不存在。"
],
"code": [
"Invalid verification code."
]
}
},
"time": 1723626772
}