优化抢购流程日志和复验性能
This commit is contained in:
@@ -156,14 +156,14 @@ defineExpose({ open, close })
|
||||
<label class="form-label">抢购模式</label>
|
||||
<select v-model.number="formData.seckillMode" class="form-select">
|
||||
<option :value="0">标准模式(每次完整校验)</option>
|
||||
<option :value="1">激进模式(复用校验结果)</option>
|
||||
<option :value="1">激进模式(预检后直兑)</option>
|
||||
</select>
|
||||
<div class="form-hint">
|
||||
<template v-if="formData.seckillMode === 0">
|
||||
标准模式:每次兑换都执行完整校验流程(CSRF→限制检查→预兑换→兑换)
|
||||
</template>
|
||||
<template v-else>
|
||||
激进模式:第一轮完整校验,后续轮次跳过限制检查和预兑换,直接调用兑换接口
|
||||
激进模式:账号通过限制检查和预兑换后,后续轮次跳过限制检查和预兑换,直接调用兑换接口
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
@@ -222,7 +222,7 @@ defineExpose({ open, close })
|
||||
<div class="info-title">💡 抢购策略说明</div>
|
||||
<ul class="info-list">
|
||||
<li>抢购窗口:<strong>75 秒</strong>,自动循环重试</li>
|
||||
<li>默认:前 8 秒高频(180ms),之后逐渐降速</li>
|
||||
<li>默认:前 4 秒 180ms,12 秒内 450ms,之后快速降速</li>
|
||||
<li>尝试包数 > 1 时,每轮使用不同的包</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user