作者 庄敏学

合并分支 'dev' 到 'test'

Dev



查看合并请求 !2
@@ -134,7 +134,7 @@ func (repository *ArticleRepository) Find(ctx context.Context, conn transaction. @@ -134,7 +134,7 @@ func (repository *ArticleRepository) Find(ctx context.Context, conn transaction.
134 case "countLove descending": 134 case "countLove descending":
135 tx = tx.Order("count_love desc") 135 tx = tx.Order("count_love desc")
136 default: 136 default:
137 - tx = tx.Order("id desc") 137 + tx = tx.Order("created_at desc")
138 } 138 }
139 } 139 }
140 if v, ok := queryOptions["ids"]; ok { 140 if v, ok := queryOptions["ids"]; ok {