abiao лет назад: 5
Родитель
Сommit
dccc162297
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      go/gopath/src/fohow.com/apps/models/user_model/three_wx_user.go

+ 2 - 1
go/gopath/src/fohow.com/apps/models/user_model/three_wx_user.go

@@ -117,7 +117,8 @@ func GetAvailableThreeIntroArea(wxUserId int64) string {
 }
 
 func GetThreeWxUserById(id int64, useCache bool) *ThreeWxUser {
-	k := cache.GetKey(cache.GetThreeWxUserById, id)
+	//k := cache.GetKey(cache.GetThreeWxUserById, id)
+	k := fmt.Sprintf("user_model.GetThreeWxUserById(%d)", id)
 	if useCache {
 		if usr, ok := cache.Cache.Get(k).(*ThreeWxUser); ok {
 			return usr