Browse Source

1ipad端

master
huangjiajun 7 months ago
parent
commit
8e2dc34b74
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/db/db_order_list.go

+ 1
- 1
app/db/db_order_list.go View File

@@ -168,7 +168,7 @@ func GetOrderListByIpad(eg *xorm.Engine, param map[string]string) (*[]model.Orde
}
size := utils.StrToInt(param["limit"])
start := (utils.StrToInt(param["page"]) - 1) * size
count, err := sess.Limit(size, start).OrderBy("create_time desc,id desc").FindAndCount(&order)
count, err := sess.Limit(size, start).OrderBy("create_at desc,id desc").FindAndCount(&order)
if err != nil {
return nil, count
}


Loading…
Cancel
Save