@@ -93,7 +93,7 @@ func GetLatestCount(recommend int64, ptype string, useCache bool) int64 {
}
item := new(LiveBroad)
o := orm.NewOrm()
- count, _ := o.QueryTable(item).Filter("recommend__gt", recommend).Filter("show_flag", true).Filter("ptype", ptype).Filter("status", 1).Count()
+ count, _ := o.QueryTable(item).Filter("recommend__gt", recommend).Count()
cache.Cache.Put(k, count, 10*time.Minute)
return count