feat: 添加赛尔号机器人行情查询功能
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-23 05:32:43 +08:00
committed by cnb
parent 65f696dfc3
commit 77c404591a
5 changed files with 72 additions and 1 deletions

View File

@@ -45,7 +45,12 @@ func (s *GoldListService) Done(listid uint32) (*model.GoldBeanOrder, error) {
}
return &rr, nil
}
func (s *GoldListService) Get() []model.GoldBeanOrder {
var rr []model.GoldBeanOrder
s.dbm_fix(s.Model).Where("status", 0).Scan(&rr)
return rr
}
func NewGoldListService(id uint32) *GoldListService {
return &GoldListService{