|
@ -75,10 +75,7 @@ mui.plusReady(function() {
|
75
|
75
|
console.log(data.data)
|
76
|
76
|
if(data.data != "null" && data.data != null) {
|
77
|
77
|
var userId = data.data.id;
|
78
|
|
plus.storage.setItem('userid', userId);
|
79
|
|
alert(333)
|
80
|
78
|
buildingWeiChat(userId);
|
81
|
|
firstLogin();
|
82
|
79
|
} else {
|
83
|
80
|
plus.nativeUI.toast("帐号和密码不匹配,请检查后重试", toastStyle);
|
84
|
81
|
return;
|
|
@ -105,10 +102,12 @@ mui.plusReady(function() {
|
105
|
102
|
success: function(data) {
|
106
|
103
|
console.log(JSON.stringify(data));
|
107
|
104
|
if(data.success) {
|
108
|
|
alert(444);
|
|
105
|
plus.storage.setItem('userid', id);
|
|
106
|
firstLogin();
|
109
|
107
|
}else{
|
110
|
108
|
if(data.code==2) {
|
111
|
|
|
|
109
|
plus.nativeUI.toast("该账号已绑定微信号", toastStyle);
|
|
110
|
return;
|
112
|
111
|
}
|
113
|
112
|
}
|
114
|
113
|
},
|
|
@ -130,7 +129,6 @@ mui.plusReady(function() {
|
130
|
129
|
success: function(data) {
|
131
|
130
|
console.log(JSON.stringify(data))
|
132
|
131
|
if(data.success) {
|
133
|
|
alert(555)
|
134
|
132
|
if(data.data.authentication < 0){
|
135
|
133
|
var productView = mui.preload({
|
136
|
134
|
url: '../html/fillinfo.html',
|