瀏覽代碼

是否是物业专版处理

WH01243 1 年之前
父節點
當前提交
8fe830441c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common/src/qfw/util/jy/payUser.go

+ 2 - 2
common/src/qfw/util/jy/payUser.go

@@ -25,7 +25,7 @@ type VipState struct {
 	VipStartData int64 //超级订阅开始时间
 	IsNewEnt     bool  //新版商机管理
 	EntService   bool  //企业服务权限
-	isProperty   bool
+	IsProperty   bool
 }
 
 func GetVipState(session *httpsession.Session, middleground middleground.Middleground, userId string) (vs *VipState) {
@@ -57,7 +57,7 @@ func GetVipState(session *httpsession.Session, middleground middleground.Middleg
 
 // 是否是付费账户
 func (vs *VipState) IsPayedUser() bool {
-	return vs.VipState > 0 || vs.BigMember > 0 || vs.EntMember > 0 || vs.isProperty
+	return vs.VipState > 0 || vs.BigMember > 0 || vs.EntMember > 0 || vs.IsProperty
 }
 
 // 免费 标题(title)  正文(content) 老用户【中标企业(winner)】