登录改造
This commit is contained in:
@@ -183,7 +183,7 @@ public class AuthAppController {
|
|||||||
if(needVerificationCode){
|
if(needVerificationCode){
|
||||||
vo.setLoginSuccess(false);
|
vo.setLoginSuccess(false);
|
||||||
vo.setNeedVerificationCode(true);
|
vo.setNeedVerificationCode(true);
|
||||||
return R.ok();
|
return R.ok(vo);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
String token = caiLoginManager.login(loginBody.getUsername(), loginBody.getPassword());
|
String token = caiLoginManager.login(loginBody.getUsername(), loginBody.getPassword());
|
||||||
|
|||||||
Reference in New Issue
Block a user