瀏覽代碼

no message

xingzai 3 周之前
父節點
當前提交
bef0355690
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/yanxuan_special_message.go

+ 1 - 1
controllers/yanxuan_special_message.go

@@ -542,7 +542,7 @@ func (this *YanxuanSpecialMessageController) MessageSpecialList() {
 		br.ErrMsg = "获取失败, Err:" + err.Error()
 		return
 	}
-	condition += ` ORDER BY message_id DESC `
+	condition += `  ORDER BY  top_time DESC , message_id DESC  `
 	list, err := models.GetCygxYanxuanSpecialMessageList(condition, pars, startSize, pageSize)
 	if err != nil {
 		br.Msg = "获取失败"