|
@@ -378,6 +378,7 @@ func (this *MobileHomeController) NewList() {
|
|
|
condition += ` AND ((source = 'article' AND source_id IN (0)) OR (source = 'activity' AND source_id IN (0))) `
|
|
|
}
|
|
|
}
|
|
|
+ //fmt.Println("condition:",condition)
|
|
|
|
|
|
//查询近一个月的数据
|
|
|
conditionInit = " AND publish_date > '" + time.Now().AddDate(0, 0, -30).Format(utils.FormatDateTime) + "'"
|