{
"authorization_code": "c123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz",
"identity_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9",
"user": "{\"name\":{\"firstName\":\"John\",\"lastName\":\"Doe\"}}",
"device_type": "ios",
"device_id": "550e8400-e29b-41d4-a716-446655440000"
}curl --location --request POST 'https://web.richen8.cn/api/v1/apple/login' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NzgxMjA5NTYsImlhdCI6MTc3NTUyODk1NiwianRpIjoiZjYwZWI0YWMtNDg3NS00MzM4LThkZGUtMGI2ZTFjZjFhOGZhIiwidXNlcl9pZCI6MzF9.hTIJI1W90s0ABGjpIjwLUWAQmSi9-OFh_KvgUotfSP4' \
--header 'Content-Type: application/json' \
--data-raw '{
"authorization_code": "c123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz",
"identity_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9",
"user": "{\"name\":{\"firstName\":\"John\",\"lastName\":\"Doe\"}}",
"device_type": "ios",
"device_id": "550e8400-e29b-41d4-a716-446655440000"
}'{
"code": 200,
"message": "登录成功",
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expire_time": "2024-12-19T10:30:00Z",
"risk_level": 0,
"risk_detail": "正常登录",
"is_new_user": true,
"user_info": {
"id": 12345,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"nickname": "Apple_john",
"avatar_url": "https://example.com/avatar.jpg",
"status": 1
}
}
}