wo快速切换状态删除

This commit is contained in:
2026-04-24 01:05:06 +08:00
parent 403f983826
commit a3d94ae50b
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ func ApiPurchase(r *gin.RouterGroup) {
//读取条目
var getorders []TabPurchaseOrder
query.Order("created_at DESC").Offset(jsondata.Entries * (jsondata.Page - 1)).Limit(jsondata.Entries).Find(&getorders)
query.Order("updated_at DESC, id DESC").Offset(jsondata.Entries * (jsondata.Page - 1)).Limit(jsondata.Entries).Find(&getorders)
ReturnJson(ctx, "apiOK", map[string]interface{}{
"all_count": count,