dever 3 years ago
parent
commit
a04c316b7d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/agent/lib/Set.php

+ 2 - 2
service/agent/lib/Set.php

@@ -89,8 +89,8 @@ class Set
                 if ($info) {
                     if ($table == 'agent/member_goods') {
                         $info['num'] = $info['total_num'] - $info['sell_num'];
-                        if ($v['sku_id'] > 0) {
-                            $data[1]['children'][$k]['id'] = $v['id'] . '-' . $v['sku_id'] . '_2';
+                        if ($info['sku_id'] > 0) {
+                            $data[1]['children'][$k]['id'] = $v['id'] . '-' . $info['sku_id'] . '_2';
                         }
                     }
                     $data[1]['children'][$k]['select'] = 1;