feat(score): 引入积分基线存储与刚性扣分对账体系
- 参考 dygou_go 新增 internal/score/baseline.go:维护 scores.json 并支持原子写盘 - 查询积分时自动保存各账号基线余额;抢购后提供 ReconcileAccounts 刚性比对扣分差值 - App.go 与前端增加 ReconcileScores 绑定与【刚性对账】按钮,解决超时暗中成功漏单痛点 - 补充 BaselineStore 读写、落盘重载与 ReconcileAccounts 完整单测并通过前端编译
This commit is contained in:
@@ -58,6 +58,10 @@ export function QueryScores(arg1) {
|
||||
return window['go']['gui']['App']['QueryScores'](arg1);
|
||||
}
|
||||
|
||||
export function ReconcileScores(arg1) {
|
||||
return window['go']['gui']['App']['ReconcileScores'](arg1);
|
||||
}
|
||||
|
||||
export function SetLogLevel(arg1) {
|
||||
return window['go']['gui']['App']['SetLogLevel'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user