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

Fix

parent 938ac3a5
Pipeline #13726 passed with stage
in 26 seconds
...@@ -288,7 +288,7 @@ class OrderService extends Service { ...@@ -288,7 +288,7 @@ class OrderService extends Service {
ctx.failed('订单已支付无需重复支付'); ctx.failed('订单已支付无需重复支付');
} }
ctx.logger.info('11111111111111111111111111111111111'); ctx.logger.info('11111111111111111111111111111111111');
const price = ((order.price - order.preferential_price) * 100).toFixed(2); const price = ((order.price - order.preferential_price) * 100).toFixed();
if (price <= 0) { if (price <= 0) {
ctx.failed('error price'); ctx.failed('error price');
......
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