Commit e8da7a99 authored by 李尚科's avatar 李尚科

fixx

parent 9a9810e2
......@@ -298,7 +298,7 @@ class OrderService extends Service {
const expire_time = moment(order.order_time).valueOf() + 24 * 3600 * 1000;
const now_time = moment().valueOf();
if (expire_time < now_time) {
ctx.failed('order failure');//订单失效,前端会取这个判断跳转
ctx.failed('order_failure');//订单失效,前端会取这个判断跳转
}
const price = ((order.price - order.preferential_price) * 100).toFixed();
......
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