|
|
|
@ -214,10 +214,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
if (response === undefined) {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if(response.data.identity === null || response.data.identity === undefined){
|
|
|
|
|
this.props.history.push("/interesse");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(response.data.status === -2){
|
|
|
|
|
if("该手机号尚未注册" || "该邮箱尚未注册"){
|
|
|
|
|
this.setState({
|
|
|
|
@ -246,6 +243,11 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(response.data.identity === null || response.data.identity === undefined){
|
|
|
|
|
this.props.history.push("/interesse");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (response.status === 200) {
|
|
|
|
|
if (response.data.status === 402) {
|
|
|
|
|
window.location.href = response.data.url;
|
|
|
|
|