Commit 3cb2c210 authored by 李尚科's avatar 李尚科

fix

parent 42d0a17c
Pipeline #14162 passed with stage
in 32 seconds
...@@ -145,7 +145,7 @@ class OrderService extends Service { ...@@ -145,7 +145,7 @@ class OrderService extends Service {
const worth_time = type === 1 ? 15 : 30; const worth_time = type === 1 ? 15 : 30;
const expire_time = moment(state_time).valueOf() + worth_time * 86400 * 1000; const expire_time = moment(state_time).valueOf() + worth_time * 86400 * 1000;
const now_time = moment().valueOf(); const now_time = moment().valueOf();
const state_array = ['支付']; const state_array = ['支付'];
if (!state_array.includes(state) || expire_time > now_time) {//还在规定的有效期内 高价值报告 if (!state_array.includes(state) || expire_time > now_time) {//还在规定的有效期内 高价值报告
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment