xingzai il y a 3 semaines
Parent
commit
bef0355690
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = "获取失败"