优化抢购逻辑:移除手动提前量、冷却累计停止、默认包数2
- 移除用户手动提前量设置,改为固定 100ms 内部提前量 - 新增冷却累计停止:单账号冷却 ≥5 次自动放弃 - 默认发包数从 1 改为 2 - 前端移除提前量输入框和 localStorage 存取
This commit is contained in:
@@ -90,7 +90,6 @@ type AccountView struct {
|
||||
type SeckillRequest struct {
|
||||
AccountProducts map[string]string `json:"accountProducts"`
|
||||
TargetTime string `json:"targetTime"`
|
||||
Advance int `json:"advance"`
|
||||
}
|
||||
|
||||
// APIResponse 斗鱼 API 通用响应。
|
||||
|
||||
Reference in New Issue
Block a user