This commit is contained in:
@@ -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()
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user