浏览代码

Merge branch 'need/cygx_997' of http://8.136.199.33:3000/hongze/hongze_clpt into debug

zhangchuanxing 8 月之前
父节点
当前提交
219a72d689
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/home.go

+ 1 - 1
controllers/home.go

@@ -329,7 +329,7 @@ func (this *MobileHomeController) NewList() {
 		br.ErrMsg = "获取活动权限数据失败,Err:" + err.Error()
 		return
 	}
-	conditionActivity += `  AND art.publish_status = 1 `
+	conditionActivity += `  AND art.publish_status = 1  AND art.active_state IN  (1,2) `
 	var conditionOrder string
 	conditionOrder = ` ORDER BY art.activity_time DESC ,  art.active_state ASC   `
 	conditionActivity += conditionOrder