Commit 938ac3a5 authored by 李尚科's avatar 李尚科

Fix

parent 3af7930d
Pipeline #13725 passed with stage
in 27 seconds
...@@ -287,8 +287,8 @@ class OrderService extends Service { ...@@ -287,8 +287,8 @@ class OrderService extends Service {
if (order && order.pay_status === 1) { if (order && order.pay_status === 1) {
ctx.failed('订单已支付无需重复支付'); ctx.failed('订单已支付无需重复支付');
} }
// ctx.logger.info('11111111111111111111111111111111111'); ctx.logger.info('11111111111111111111111111111111111');
const price = (order.price - order.preferential_price).toFixed(2) * 100; const price = ((order.price - order.preferential_price) * 100).toFixed(2);
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