|
@@ -37,18 +37,19 @@ function _paramHanlde(obj) { |
|
@@ -37,18 +37,19 @@ function _paramHanlde(obj) { |
37
|
|
37
|
|
38
|
// let _gender;
|
38
|
// let _gender;
|
39
|
//
|
39
|
//
|
40
|
- // if (obj.yh_channel) {
|
|
|
41
|
- // switch (obj.yh_channel) {
|
|
|
42
|
- // case 'men':
|
|
|
43
|
- // _gender = '1,3';
|
|
|
44
|
- // break;
|
|
|
45
|
- // case 'women':
|
|
|
46
|
- // _gender = '2,3';
|
|
|
47
|
- // break;
|
|
|
48
|
- // default:
|
|
|
49
|
- // break;
|
|
|
50
|
- // }
|
|
|
51
|
- // }
|
40
|
+ if (obj.yh_channel) {
|
|
|
41
|
+ switch (obj.yh_channel) {
|
|
|
42
|
+ case 'men':
|
|
|
43
|
+ obj.yh_channel = '301';
|
|
|
44
|
+ break;
|
|
|
45
|
+ case 'women':
|
|
|
46
|
+ obj.yh_channel = '302';
|
|
|
47
|
+ break;
|
|
|
48
|
+ default:
|
|
|
49
|
+ obj.yh_channel = '303';
|
|
|
50
|
+ break;
|
|
|
51
|
+ }
|
|
|
52
|
+ }
|
52
|
|
53
|
|
53
|
// if (obj.gender || _gender) {
|
54
|
// if (obj.gender || _gender) {
|
54
|
// obj.gender = obj.gender || _gender;
|
55
|
// obj.gender = obj.gender || _gender;
|