|
@@ -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'];
|