ソースを参照

show product no token

abiao 2 年 前
コミット
3c5eb090fe
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      go/gopath/src/fohow.com/apps/controllers/product_controller/product_controller.go

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/product_controller/product_controller.go

@@ -47,7 +47,7 @@ func (self *ProductController) Latest() {
 	depart := int64(0)
 	wxUId := self.GetCurrentWxUserIdByToken()
 	wxUser := user_model.GetWxUserById(wxUId, false)
-	if wxUser == nil {
+	if wxUser != nil {
 		depart = wxUser.Depart
 	}