浏览代码

no message

xingzai 3 年之前
父节点
当前提交
e9b20f0ba1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/activity.go

+ 1 - 1
controllers/activity.go

@@ -135,7 +135,7 @@ func (this *ActivityCoAntroller) ActivityList() {
 
 	condition += ` AND art.publish_status = 1 `
 	if activeState != "" {
-		condition += ` AND art.active_state  IN (` + activeState + `)  ORDER BY art.active_state ASC`
+		condition += ` AND art.active_state  IN (` + activeState + `)`
 	}
 	total, err := models.GetActivityCount(condition, pars)
 	if err != nil {