dev_static
杨树明 5 years ago
parent f2b0f73f1e
commit bc0fb62b65

@ -110,9 +110,9 @@ class Mailboxvalidation extends Component {
if (result) { if (result) {
// 倒计时 // 倒计时
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
this.setState({ this.setState({

@ -109,9 +109,9 @@ class Phonenumberverification extends Component {
if (result) { if (result) {
// 倒计时 // 倒计时
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
this.setState({ this.setState({
secondsFlag: true secondsFlag: true

@ -111,9 +111,9 @@ class Mailboxvalidation extends Component {
if (result) { if (result) {
// 倒计时 // 倒计时
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
this.setState({ this.setState({
secondsFlag: true secondsFlag: true

@ -110,9 +110,9 @@ class Phonenumberverification extends Component {
if (result) { if (result) {
// 倒计时 // 倒计时
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
this.setState({ this.setState({
secondsFlag: true secondsFlag: true

@ -206,9 +206,9 @@ class Trialapplication extends Component {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}
// console.log(result); // console.log(result);
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
}).catch((error) => { }).catch((error) => {

@ -221,9 +221,9 @@ class Trialapplicationysl extends Component {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}
// console.log(result); // console.log(result);
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
}).catch((error) => { }).catch((error) => {

@ -199,12 +199,12 @@ class PackageIndexNEIBannerConcent extends Component {
}).then((result) => { }).then((result) => {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}
// console.log(result); // console.log(result);
// this.openNotification("验证码已发送,请注意查收!",2); // this.openNotification("验证码已发送,请注意查收");
if(result.data.status===1){ if(result.data.status===1){
this.openNotification("验证码已发送,请注意查收",2); this.openNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.openNotification(result.data.message,2); this.openNotification(result.data.message);
} }
}).catch((error) => { }).catch((error) => {
console.log(error); console.log(error);

@ -71,7 +71,7 @@ class PhoneModel extends Component {
// }).then((result) => { // }).then((result) => {
// //验证有问题{"status":1,"message":"success"} // //验证有问题{"status":1,"message":"success"}
// // console.log(result); // // console.log(result);
// this.openNotification("验证码已发送,请注意查收!",2); // this.openNotification("验证码已发送,请注意查收");
// //
// //
// }).catch((error) => { // }).catch((error) => {

@ -166,11 +166,11 @@ class LoginRegisterComponent extends Component {
} }
}).then((result) => { }).then((result) => {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}
// this.openNotification("验证码已发送,请注意查收!",2); // this.openNotification("验证码已发送,请注意查收");
if(result.data.status===1){ if(result.data.status===1){
this.openNotification("验证码已发送,请注意查收",2); this.openNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.openNotification(result.data.message,2); this.openNotification(result.data.message);
} }
}).catch((error) => { }).catch((error) => {
console.log(error); console.log(error);

@ -619,9 +619,9 @@ class LoginRegisterComponent extends Component {
//验证有问题{"status":1,"message":"success"} //验证有问题{"status":1,"message":"success"}
// console.log(result); // console.log(result);
if(result.data.status===1){ if(result.data.status===1){
this.openNotification("验证码已发送,请注意查收!",2); this.openNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.openNotification(result.data.message,2); this.openNotification(result.data.message);
} }
}).catch((error) => { }).catch((error) => {

@ -89,9 +89,9 @@ class AccountSecure extends Component {
if(result){ if(result){
// 倒计时 // 倒计时
if(result.data.status===1){ if(result.data.status===1){
this.props.showNotification("验证码已发送,请注意查收!",2); this.props.showNotification("验证码已发送,请注意查收");
}else if(result.data.status===-2){ }else if(result.data.status===-2){
this.props.showNotification(result.data.message,2); this.props.showNotification(result.data.message);
} }
this.setState({ this.setState({
secondsFlag:true secondsFlag:true

Loading…
Cancel
Save