|
@@ -228,6 +228,8 @@ export default {
|
|
console.log(response);
|
|
console.log(response);
|
|
if (response.data.code==200) {
|
|
if (response.data.code==200) {
|
|
this.loginSucceed(response.data.data)
|
|
this.loginSucceed(response.data.data)
|
|
|
|
+ }else{
|
|
|
|
+ alert(response.data.message)
|
|
}
|
|
}
|
|
|
|
|
|
})
|
|
})
|
|
@@ -247,12 +249,15 @@ export default {
|
|
console.log(response);
|
|
console.log(response);
|
|
if (response.data.code==200) {
|
|
if (response.data.code==200) {
|
|
this.loginSucceed(response.data.data)
|
|
this.loginSucceed(response.data.data)
|
|
|
|
+ }else{
|
|
|
|
+ alert(response.data.message)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch(function (error) {
|
|
.catch(function (error) {
|
|
console.log(error);
|
|
console.log(error);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ this.empty()
|
|
},
|
|
},
|
|
verify(){
|
|
verify(){
|
|
if(!this.phone&&this.register) {
|
|
if(!this.phone&&this.register) {
|
|
@@ -264,6 +269,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/send/newmail",parm)
|
|
this.$http.post("https://dev407.33.cn/api/send/newmail",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|
|
@@ -278,6 +284,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/send/newsms",parm)
|
|
this.$http.post("https://dev407.33.cn/api/send/newsms",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response)
|
|
console.log(response)
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|
|
@@ -292,6 +299,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/send/newsms",parm)
|
|
this.$http.post("https://dev407.33.cn/api/send/newsms",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response)
|
|
console.log(response)
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|
|
@@ -311,6 +319,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/broker/register",parm)
|
|
this.$http.post("https://dev407.33.cn/api/broker/register",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|
|
@@ -325,6 +334,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/broker/register",parm)
|
|
this.$http.post("https://dev407.33.cn/api/broker/register",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|
|
@@ -343,6 +353,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/member/brokernewresetpassword",parm)
|
|
this.$http.post("https://dev407.33.cn/api/member/brokernewresetpassword",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|
|
@@ -361,6 +372,7 @@ export default {
|
|
this.$http.post("https://dev407.33.cn/api/member/brokernewresetpassword",parm)
|
|
this.$http.post("https://dev407.33.cn/api/member/brokernewresetpassword",parm)
|
|
.then(response=>{
|
|
.then(response=>{
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
+ alert(response.data.message)
|
|
})
|
|
})
|
|
.catch(error=>{
|
|
.catch(error=>{
|
|
console.log(error)
|
|
console.log(error)
|