Merge branch 'release/4.7' of git.yoho.cn:fe/YOHOBUYWAP into release/4.7
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -70,7 +70,7 @@ class ListProcess | @@ -70,7 +70,7 @@ class ListProcess | ||
70 | $data['gender'] = array('2,3' => 'GIRLS'); | 70 | $data['gender'] = array('2,3' => 'GIRLS'); |
71 | break; | 71 | break; |
72 | default: | 72 | default: |
73 | - $data['gender'] = array('2,3' => 'GIRLS', '1,3' => 'BOYS'); | 73 | + $data['gender'] = array('1,3' => 'BOYS', '2,3' => 'GIRLS'); |
74 | break; | 74 | break; |
75 | } | 75 | } |
76 | 76 | ||
@@ -188,7 +188,7 @@ class ListProcess | @@ -188,7 +188,7 @@ class ListProcess | ||
188 | 'dataType' => 'gender', | 188 | 'dataType' => 'gender', |
189 | 'subs' => array( | 189 | 'subs' => array( |
190 | array( | 190 | array( |
191 | - 'dataId' => '1,2,3', | 191 | + 'dataId' => empty($gender) ? '1,2,3' : $gender, // 产品非要这么做,我也没有办法 |
192 | 'name' => '所有性别' | 192 | 'name' => '所有性别' |
193 | ) | 193 | ) |
194 | ) | 194 | ) |
-
Please register or login to post a comment