code review by fei.hong: do format category codes
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -46,6 +46,7 @@ class ClassModel | @@ -46,6 +46,7 @@ class ClassModel | ||
46 | $genderArr = array('boy' => '1,3', 'girl' => '2,3', 'kids' => '1,2,3', 'lifestyle' => '1,2,3'); | 46 | $genderArr = array('boy' => '1,3', 'girl' => '2,3', 'kids' => '1,2,3', 'lifestyle' => '1,2,3'); |
47 | $oneClass = array(); | 47 | $oneClass = array(); |
48 | $item = array(); | 48 | $item = array(); |
49 | + $subitem = array(); | ||
49 | foreach ($data['data'] as $k => $v) { | 50 | foreach ($data['data'] as $k => $v) { |
50 | $oneClass = array('name' => ucfirst(rtrim($k, 's')), 'ca' => array()); | 51 | $oneClass = array('name' => ucfirst(rtrim($k, 's')), 'ca' => array()); |
51 | 52 |
-
Please register or login to post a comment