Browse Source

Merge branch 'dev' of http://192.168.1.41:3000/maixinrong/Calculation into dev

Tony Kang 2 years ago
parent
commit
73ff6da32a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/stage_audit.js

+ 1 - 1
app/service/stage_audit.js

@@ -1645,7 +1645,7 @@ module.exports = app => {
                     times: nowTimes,
                     yf_tp: yfPay ? yfPay.tp : null,
                     sf_tp: sfPay ? sfPay.tp : null,
-                    tp_history: JSON.stringify(this.ctx.stage.tp_history),
+                    tp_history: JSON.stringify(this.ctx.stage.tp_history.filter(x => { return x.times <= nowTimes; })),
                     cache_time_l: time,
                     cache_time_r: time,
                 });