Authored by Rock Zhang

去除品类列表页Kids中的s

@@ -46,7 +46,7 @@ class ClassModel @@ -46,7 +46,7 @@ class ClassModel
46 $oneClass = array(); 46 $oneClass = array();
47 $item = array(); 47 $item = array();
48 foreach ($data['data'] as $k => $v) { 48 foreach ($data['data'] as $k => $v) {
49 - $oneClass = array('name' => ucfirst($k), 'ca' => array()); 49 + $oneClass = array('name' => ucfirst(rtrim($k, 's')), 'ca' => array());
50 50
51 foreach ($v as $val) { 51 foreach ($v as $val) {
52 $item = array(); 52 $item = array();