feat: 添加赛尔号机器人行情查询功能
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -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{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user