This commit is contained in:
yanweidong
2026-02-01 14:57:20 +08:00
parent ec0fb57d1f
commit d89d7967b8
7 changed files with 108 additions and 60 deletions

View File

@@ -28,10 +28,10 @@ func (r *RuleFactory) RunPrice(code string) {
}
if !check {
r.Model.GtAmount = -1
r.Model.GtPrice = -1
r.Model.AddDesc(fmt.Sprintf("最近%d天, 有价格低于%.2f", LastDay, MinPrice))
return
}
r.Model.GtAmount = 1
r.Model.GtPrice = 1
}