瀏覽代碼

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
 	}