xingzai пре 2 година
родитељ
комит
197c889c1d
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      services/activity_special.go

+ 2 - 0
services/activity_special.go

@@ -128,6 +128,8 @@ func GetActivityLabelSpecialList(user *models.WxUserItem, isPower int, chartPerm
 	}
 	}
 	//if len(specialList) < 8 {
 	//if len(specialList) < 8 {
 	//	conditionTrip += ` AND art.days = 0  ORDER BY art.last_updated_time DESC`
 	//	conditionTrip += ` AND art.days = 0  ORDER BY art.last_updated_time DESC`
+
+	condition += ` AND art.days = 0  ORDER BY art.last_updated_time DESC`
 	specialListNotrip, e := models.GetActivityLabelSpecialListAll(condition, pars, 0, 20)
 	specialListNotrip, e := models.GetActivityLabelSpecialListAll(condition, pars, 0, 20)
 	if e != nil {
 	if e != nil {
 		err = e
 		err = e