|
@@ -2785,7 +2785,7 @@ func (this *ActivityCoAntroller) ActivityListNew() {
|
|
|
activityTypeId := this.GetString("ActivityTypeId")
|
|
|
keyWord := this.GetString("KeyWord")
|
|
|
playBack, _ := this.GetInt("PlayBack")
|
|
|
- activityId, _ := this.GetInt("ActivityId") // 仅用于判断【新】标签
|
|
|
+ activityId, _ := this.GetInt("ActivityId") // 仅用于判断【新】标签
|
|
|
|
|
|
if label == "undefined" {
|
|
|
label = ""
|
|
@@ -3618,7 +3618,7 @@ func (this *ActivityCoAntroller) LabelTypeListV5() {
|
|
|
}
|
|
|
|
|
|
//获取对应活动的数量并排序
|
|
|
- activityIds := make([]int, 0) // 用于查询活动【新】标签Map
|
|
|
+ activityIds := make([]int, 0) // 用于查询活动【新】标签Map
|
|
|
intArr := make([]int, 0)
|
|
|
var items []*models.ActivityTypeHome
|
|
|
for _, v := range list {
|
|
@@ -3646,9 +3646,11 @@ func (this *ActivityCoAntroller) LabelTypeListV5() {
|
|
|
br.ErrMsg = "获取活动【新】标签Map失败, Err: " + e.Error()
|
|
|
return
|
|
|
}
|
|
|
- for k := range list {
|
|
|
- for k2 := range list[k].List {
|
|
|
- list[k].List[k2].IsNew = newLabelMap[list[k].List[k2].ActivityId]
|
|
|
+ for k, v := range list {
|
|
|
+ if v.ActivityTypeId == 1 {
|
|
|
+ for k2 := range list[k].List {
|
|
|
+ list[k].List[k2].IsNew = newLabelMap[list[k].List[k2].ActivityId]
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|