|
|
@@ -134,6 +134,11 @@ func (self *UserController) BindingTelNew() {
|
|
|
if user != nil {
|
|
|
self.SetSession(apps.SessionUserKey, user.Id)
|
|
|
}
|
|
|
+ //消除user,wxuser缓存
|
|
|
+ userKey := fmt.Sprintf("user.GetByUid[%d]", wxUser.UserId)
|
|
|
+ wxUserKey := cache.GetKey(cache.GetWxUserById, wxUser.Id)
|
|
|
+ cache.Cache.Delete(userKey)
|
|
|
+ cache.Cache.Delete(wxUserKey)
|
|
|
}
|
|
|
self.Data["json"] = user
|
|
|
self.ServeJSON()
|