lrf 2 years ago
parent
commit
fa1fd8242e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/service/util/order.js

+ 2 - 2
app/service/util/order.js

@@ -96,8 +96,8 @@ class OrderService extends CrudService {
   shopMoneyDetail(order) {
     if (!order) throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '未找到订单信息');
     let priceKey;
-    if (_.get(order, 'type', '0') === '1') priceKey = 'ggrp';
-    else priceKey = 'grp';
+    if (_.get(order, 'type', '0') === '1') priceKey = 'gst';
+    else priceKey = 'st';
     const result = {};
     const moneyDetail = this.moneyDetail(order);
     for (const s in moneyDetail) {