all
This commit is contained in:
+4
-8
@@ -111,9 +111,7 @@
|
||||
},
|
||||
methods:{
|
||||
getCaptcha(){
|
||||
this._get('user.Login/generateCaptcha',{
|
||||
timestamp: '1784172260',
|
||||
signature: '1547f362dca32f7f7cbacb1b0c4661906b2d5e6a5bac3b322331f11d8ae7d7cd',
|
||||
this._get('user.Useropen/generateCaptcha',{
|
||||
},res=>{
|
||||
console.log(res,33)
|
||||
if(res.code==1){
|
||||
@@ -179,7 +177,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
this._post('user.Login/sendCode',{
|
||||
this._post('user.Useropen/sendCode',{
|
||||
mobile: this.formData.mobile,
|
||||
type: 'login',
|
||||
},res=>{
|
||||
@@ -236,7 +234,7 @@
|
||||
})
|
||||
return;
|
||||
}
|
||||
this._post('user.Login/smslogin',{
|
||||
this._post('user.Useropen/smslogin',{
|
||||
mobile: this.formData.mobile,
|
||||
code: this.formData.code,
|
||||
captcha: this.formData.captcha,
|
||||
@@ -298,13 +296,11 @@
|
||||
})
|
||||
return;
|
||||
}
|
||||
this._post('user.Login/phonelogin',{
|
||||
this._post('user.Useropen/phonelogin',{
|
||||
mobile: this.formData.mobile,
|
||||
password: this.formData.password,
|
||||
captcha: this.formData.captcha,
|
||||
captchaKey: this.formData.captchaKey,
|
||||
timestamp: '1784172260',
|
||||
signature: '1547f362dca32f7f7cbacb1b0c4661906b2d5e6a5bac3b322331f11d8ae7d7cd',
|
||||
},res=>{
|
||||
uni.setStorageSync('token',res.data.token)
|
||||
uni.showToast({
|
||||
|
||||
@@ -111,7 +111,9 @@
|
||||
},
|
||||
methods:{
|
||||
getCaptcha(){
|
||||
this._get('user.Useropen/generateCaptcha',{
|
||||
this._get('user.Login/generateCaptcha',{
|
||||
timestamp: '1784172260',
|
||||
signature: '1547f362dca32f7f7cbacb1b0c4661906b2d5e6a5bac3b322331f11d8ae7d7cd',
|
||||
},res=>{
|
||||
console.log(res,33)
|
||||
if(res.code==1){
|
||||
@@ -177,7 +179,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
this._post('user.Useropen/sendCode',{
|
||||
this._post('user.Login/sendCode',{
|
||||
mobile: this.formData.mobile,
|
||||
type: 'login',
|
||||
},res=>{
|
||||
@@ -234,7 +236,7 @@
|
||||
})
|
||||
return;
|
||||
}
|
||||
this._post('user.Useropen/smslogin',{
|
||||
this._post('user.Login/smslogin',{
|
||||
mobile: this.formData.mobile,
|
||||
code: this.formData.code,
|
||||
captcha: this.formData.captcha,
|
||||
@@ -296,11 +298,13 @@
|
||||
})
|
||||
return;
|
||||
}
|
||||
this._post('user.Useropen/phonelogin',{
|
||||
this._post('user.Login/phonelogin',{
|
||||
mobile: this.formData.mobile,
|
||||
password: this.formData.password,
|
||||
captcha: this.formData.captcha,
|
||||
captchaKey: this.formData.captchaKey,
|
||||
timestamp: '1784172260',
|
||||
signature: '1547f362dca32f7f7cbacb1b0c4661906b2d5e6a5bac3b322331f11d8ae7d7cd',
|
||||
},res=>{
|
||||
uni.setStorageSync('token',res.data.token)
|
||||
uni.showToast({
|
||||
Reference in New Issue
Block a user