dever 3 years ago
parent
commit
ca68497eab
2 changed files with 6 additions and 0 deletions
  1. 2 0
      app/goods/lib/Info.php
  2. 4 0
      app/shop/lib/Sell.php

+ 2 - 0
app/goods/lib/Info.php

@@ -458,6 +458,8 @@ class Info
                     $info['weight'] = $sku['weight'];
                 }
             }
+
+            $this->getGroup($info);
         }
 
         return $info;

+ 4 - 0
app/shop/lib/Sell.php

@@ -1545,6 +1545,10 @@ class Sell
                 'status' => $status,
             );
 
+            if ($goods_info['price_type'] > 2) {
+                $d['goods'] = $goods_info['goods'];
+            }
+
             if ($tk && $v['status'] == 3) {
                 $d['status'] = $tk_status[$tk['status']];
                 $refund_body[] = $d;