...
|
...
|
@@ -83,6 +83,13 @@ class NewSaleProcess |
|
|
$count = count($products['product_list']);
|
|
|
$one = array();
|
|
|
foreach ($products['product_list'] as $key => $single) {
|
|
|
if (!isset($single['goods_list'])) {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
// 重置键值
|
|
|
$single['goods_list'] = array_values($single['goods_list']);
|
|
|
|
|
|
$one = Helpers::formatProduct($single, true, false, false, 75, 114);
|
|
|
$one['rank'] = $limit * ($page -1) + $key + 1;
|
|
|
!empty($single['sales_phrase']) && $one['sales_phrase'] = $single['sales_phrase'];
|
...
|
...
|
|