|
@@ -54,7 +54,7 @@ class ReBuildData
|
|
|
$result[] = [
|
|
|
'product_id' => $productId,
|
|
|
'limit' => $limit,
|
|
|
- 'type' => getProp($limit, 'type'),
|
|
|
+ 'type' => getProp($product, 'type'),
|
|
|
'price' => getProp($product, 'price'),
|
|
|
'total' => getProp($product, 'given'),
|
|
|
];
|