This commit is contained in:
@@ -51,7 +51,7 @@ func (s *GoldListService) Done(listid uint32) (*model.GoldBeanOrder, error) {
|
|||||||
}
|
}
|
||||||
func (s *GoldListService) Get() []model.GoldBeanOrder {
|
func (s *GoldListService) Get() []model.GoldBeanOrder {
|
||||||
var rr []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
|
return rr
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user