Commit 751e9aa5 by Administrator

bugfixed -- 关于手机号码登陆通过后的状态码

1 parent 679a6948
......@@ -141,7 +141,7 @@ class LoginPhoneCubit extends Cubit<LoginPhoneState> {
}
var result = await _phoneAuthRepository.login(phone, verifyCode);
if (result['code'] != 1) {
if (result['code'] != 0) {
emit(state.copyWith(showSnackBar: true, snackBarMsg: result['error']));
return;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!