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

fixx

parent 3e87c77c
......@@ -298,9 +298,9 @@ 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('订单已失效');
ctx.failed('order failure');//订单失效,前端会取这个判断跳转
}
ctx.logger.info('11111111111111111111111111111111111');
const price = ((order.price - order.preferential_price) * 100).toFixed();
if (price <= 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