|
@@ -52,6 +52,7 @@ Page({
|
|
|
,{
|
|
|
success: function (data, res) {
|
|
|
that.dever.saveLoginInfo(data);
|
|
|
+ var loginInfo = that.dever.getLoginInfo();
|
|
|
that.checkAuth();
|
|
|
that.dever.goBack();
|
|
|
},
|
|
@@ -71,7 +72,7 @@ Page({
|
|
|
var that = this;
|
|
|
var userInfo = wxObj.userInfo;
|
|
|
var loginInfo = that.dever.getLoginInfo();
|
|
|
- that.request('passport.applet.update'
|
|
|
+ that.dever.request('passport.applet.update'
|
|
|
,{
|
|
|
nickname: userInfo.nickName,
|
|
|
avatarurl: userInfo.avatarUrl,
|
|
@@ -83,7 +84,7 @@ Page({
|
|
|
}
|
|
|
,{
|
|
|
success: function(data, res){
|
|
|
- that.derver.log('applet.update', '用户信息更新成功~');
|
|
|
+ that.dever.log('applet.update', '用户信息更新成功~');
|
|
|
}
|
|
|
}, 'POST');
|
|
|
}
|