Authored by hf

fixes bug to home page login show status

@@ -36,7 +36,7 @@ class NewSaleProcess @@ -36,7 +36,7 @@ class NewSaleProcess
36 } 36 }
37 37
38 // 处理Filter 38 // 处理Filter
39 - if(isset($products['filter'])) { 39 + if (isset($products['filter'])) {
40 $result['filter'] = ListProcess::getFilterData($products['filter']); 40 $result['filter'] = ListProcess::getFilterData($products['filter']);
41 } 41 }
42 42
@@ -91,7 +91,7 @@ class NewSaleProcess @@ -91,7 +91,7 @@ class NewSaleProcess
91 $single['goods_list'] = array_values($single['goods_list']); 91 $single['goods_list'] = array_values($single['goods_list']);
92 92
93 $one = Helpers::formatProduct($single, true, false, false, 75, 114); 93 $one = Helpers::formatProduct($single, true, false, false, 75, 114);
94 - $one['rank'] = $limit * ($page -1) + $key + 1; 94 + $one['rank'] = $limit * ($page - 1) + $key + 1;
95 !empty($single['sales_phrase']) && $one['sales_phrase'] = $single['sales_phrase']; 95 !empty($single['sales_phrase']) && $one['sales_phrase'] = $single['sales_phrase'];
96 96
97 $result['goods'][] = $one; 97 $result['goods'][] = $one;