Sfoglia il codice sorgente

Merge branch 'master' into develop

* master:
  add cash to balance function
abiao 5 anni fa
parent
commit
316e271422

+ 2 - 2
go/gopath/src/fohow.com/apps/controllers/poster_controller/poster_controller.go

@@ -49,7 +49,7 @@ func (self *PosterController) GetPosterXcxQrcode() {
 
 	_id := self.Ctx.Input.Param(":tid")
 	id, _ := strconv.ParseInt(_id, 10, 64)
-	useCache, _ := self.GetBool("cache", true)
+	useCache, _ := self.GetBool("cache", false)
 
 	wxUid := self.GetCurrentWxUserId()
 
@@ -58,7 +58,7 @@ func (self *PosterController) GetPosterXcxQrcode() {
 	var qrcodeUrl string
 	var wxHead string
 
-	wxUser := self.GetCurrentWxUser(true)
+	wxUser := self.GetCurrentWxUser(false)
 	if wxUser != nil {
 		wxHead = GetCdnFullImgUrl(wxUser.Head)
 	}