|
@@ -109,12 +109,15 @@
|
|
console.log("clinetId",this.clientId)
|
|
console.log("clinetId",this.clientId)
|
|
this.$api.doRequest('get','/commonUser/login',{phone:this.phone,password:this.password,cid:this.clientId}).then(res => {
|
|
this.$api.doRequest('get','/commonUser/login',{phone:this.phone,password:this.password,cid:this.clientId}).then(res => {
|
|
if(res.data.code==200){
|
|
if(res.data.code==200){
|
|
|
|
+ console.log("userInfo",res.data.data)
|
|
uni.setStorageSync('userInfo', res.data.data)
|
|
uni.setStorageSync('userInfo', res.data.data)
|
|
this.$api.doRequest('post','/commonUser/api/loginQuickly',{mobilePhone: this.phone,
|
|
this.$api.doRequest('post','/commonUser/api/loginQuickly',{mobilePhone: this.phone,
|
|
veriCode: "123456",}).then(res1 => {
|
|
veriCode: "123456",}).then(res1 => {
|
|
|
|
+ console.log("loginQuickly",res)
|
|
if(res1.data.code==200){
|
|
if(res1.data.code==200){
|
|
uni.setStorageSync('pcUserInfo', res1.data.data)
|
|
uni.setStorageSync('pcUserInfo', res1.data.data)
|
|
- }else{
|
|
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
that.$api.doRequest('post','/commonUser/api/loginQuickly',{mobilePhone: '13333333333',
|
|
that.$api.doRequest('post','/commonUser/api/loginQuickly',{mobilePhone: '13333333333',
|
|
veriCode: "123456",}).then(res2 => {
|
|
veriCode: "123456",}).then(res2 => {
|
|
uni.setStorageSync('pcUserInfo', res2.data.data)
|
|
uni.setStorageSync('pcUserInfo', res2.data.data)
|