dever 3 years ago
parent
commit
2945e750d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/factory/lib/Goods.php

+ 1 - 1
app/factory/lib/Goods.php

@@ -23,7 +23,7 @@ class Goods
         $result = array();
         if ($data) {
             foreach ($data as $k => $v) {
-                $data[$k] = Dever::load('goods/lib/info')->getPayInfo($v, $v['sku_id']);
+                $data[$k] = Dever::load('goods/lib/info')->getPayInfo($v['goods_id'], $v['sku_id']);
                 if ($data[$k]['status'] == 1) {
                     if (!isset($result[$v['id']])) {
                         $result[$v['id']]['id'] = $v['id'];