{
"ismd5": true,
"loginname": "oraytest012",
"password": "90924e486cb84ba9be80f0d3e25d552b",
"grant_type": "authorization_code",
"sl_redirect_uri": "http://127.0.0.1:12323/auth/callback",
"sl_state": "xxxx"
}
// 正确情况
{
"authorize_url": "http://127.0.0.1:12323/auth/callback?sl_code=${code}&sl_state=${state}"
}
window.location.href = ${authorize_url}
// 错误的情况
{
"error": "login/illegal_redirect_uri",
"message": "非法的重定向URL"
}
// 其余账号密码错误等不变