dever %!s(int64=3) %!d(string=hai) anos
pai
achega
ca68497eab
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  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;