fix: 调整金豆列表排序为升序
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-24 08:17:44 +08:00
committed by cnb
parent bcb7e9f49c
commit 745454daea

View File

@@ -51,7 +51,7 @@ func (s *GoldListService) Done(listid uint32) (*model.GoldBeanOrder, error) {
}
func (s *GoldListService) Get() []model.GoldBeanOrder {
var rr []model.GoldBeanOrder
s.dbm_fix(s.Model).Where("status", 0).Order("rate", "desc").Scan(&rr)
s.dbm_fix(s.Model).Where("status", 0).Order("rate", "asc").Scan(&rr)
return rr
}