fix: 调整汇率上限阈值
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
xinian
2026-03-24 23:40:51 +08:00
committed by cnb
parent f00e08764c
commit 21830ddf6a

View File

@@ -28,7 +28,7 @@ func (s *GoldListService) ModifyBefore(ctx context.Context, method string, param
if t > 0 {
return fmt.Errorf("不允许多挂单")
}
if gconv.Float64(param["rate"]) > 1.0526 {
if gconv.Float64(param["rate"]) > 2 {
s.dbm_fix(s.Model).Data("rate", param["rate"], "exchange_num", param["exchange_num"], "player_id", 10001).Insert()
}