소스 검색

Merge branch 'feature/v4.9.9_ws' of https://jygit.jydev.jianyu360.cn/qmx/jy into feature/v4.9.9_ws

wangshan 1 년 전
부모
커밋
9d0b4fae28
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/jfw/modules/publicapply/src/customer/entity/entiy.go

+ 1 - 1
src/jfw/modules/publicapply/src/customer/entity/entiy.go

@@ -80,7 +80,6 @@ func (this *CustomerOperation) CheckIsFollow() (data map[string]interface{}) {
 	useCount := db.Mgo.Count(fc, map[string]interface{}{
 		"userId": this.UserId,
 	})
-	countInfo["use"] = useCount
 	// 获取关注上限
 	//BigMsg := jy.GetBigVipUserBaseMsg(this.Session, *config.Middleground)  这个方法没有企业服务的信息不用这个了
 	o := this.SessUser
@@ -93,6 +92,7 @@ func (this *CustomerOperation) CheckIsFollow() (data map[string]interface{}) {
 	if useCount > countLimit {
 		useCount = countLimit
 	}
+	countInfo["use"] = useCount
 	surplus := countLimit - useCount
 	countInfo["surplus"] = surplus
 	return