diff --git a/modules/player/service/gold_list.go b/modules/player/service/gold_list.go index 1d60bdf02..8fd481d0b 100644 --- a/modules/player/service/gold_list.go +++ b/modules/player/service/gold_list.go @@ -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).Scan(&rr) + s.dbm_fix(s.Model).Where("status", 0).Order("rate", "desc").Scan(&rr) return rr }