|
@@ -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
|