@@ -103,8 +103,8 @@ func getAbstractList(keyWord string, tagId int, startSize, pageSize int) (total
viewList = obj.WechatArticleAbstractItem(list)
} else {
sortMap := map[string]string{
- "ModifyTime": "desc",
- "WechatArticleAbstractId": "desc",
+ //"ModifyTime": "desc",
+ //"WechatArticleAbstractId": "desc",
}
obj := new(rag.WechatPlatform)
@@ -558,8 +558,8 @@ func (c *WechatPlatformController) ArticleList() {
- "ArticleCreateTime": "desc",
- "WechatArticleId": "desc",
+ //"ArticleCreateTime": "desc",
+ //"WechatArticleId": "desc",
tmpTotal, list, err := elastic.WechatArticleEsSearch(keyWord, wechatPlatformId, startSize, pageSize, sortMap)
if err != nil {