流程:输入手机号 -> 发送验证码 -> 输入验证码 -> 自动注册(若未注册)并登录。 返回结果会显示 token / userId / role 等信息。
/api/auth/sms/phone/send
/api/auth/phone-code/auto-login
等待操作...