|
@@ -45,16 +45,16 @@ class NewsaleModel |
|
@@ -45,16 +45,16 @@ class NewsaleModel |
45
|
/* 根据频道调用接口 */
|
45
|
/* 根据频道调用接口 */
|
46
|
switch (intval($channel)) {
|
46
|
switch (intval($channel)) {
|
47
|
case 1: // 男生
|
47
|
case 1: // 男生
|
48
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX, self::CODE_TOP_NEW_BOYS);
|
48
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX_BOYS, self::CODE_TOP_NEW_BOYS);
|
49
|
break;
|
49
|
break;
|
50
|
case 2: // 女生
|
50
|
case 2: // 女生
|
51
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX, self::CODE_TOP_NEW_GIRLS);
|
51
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX_GIRLS, self::CODE_TOP_NEW_GIRLS);
|
52
|
break;
|
52
|
break;
|
53
|
case 3: // 潮童
|
53
|
case 3: // 潮童
|
54
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX, self::CODE_TOP_NEW_KIDS);
|
54
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX_KIDS, self::CODE_TOP_NEW_KIDS);
|
55
|
break;
|
55
|
break;
|
56
|
case 4: // 创意生活
|
56
|
case 4: // 创意生活
|
57
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX, self::CODE_TOP_NEW_LIFESTYLE);
|
57
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX_LIFESTYLE, self::CODE_TOP_NEW_LIFESTYLE);
|
58
|
break;
|
58
|
break;
|
59
|
}
|
59
|
}
|
60
|
|
60
|
|
|
@@ -73,16 +73,16 @@ class NewsaleModel |
|
@@ -73,16 +73,16 @@ class NewsaleModel |
73
|
/* 根据频道调用接口 */
|
73
|
/* 根据频道调用接口 */
|
74
|
switch (intval($channel)) {
|
74
|
switch (intval($channel)) {
|
75
|
case 1: // 男生
|
75
|
case 1: // 男生
|
76
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT, self::CODE_TOP_SALE_BOYS);
|
76
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT_BOYS, self::CODE_TOP_SALE_BOYS);
|
77
|
break;
|
77
|
break;
|
78
|
case 2: // 女生
|
78
|
case 2: // 女生
|
79
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT, self::CODE_TOP_SALE_GIRLS);
|
79
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT_GIRLS, self::CODE_TOP_SALE_GIRLS);
|
80
|
break;
|
80
|
break;
|
81
|
case 3: // 潮童
|
81
|
case 3: // 潮童
|
82
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT, self::CODE_TOP_SALE_KIDS);
|
82
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT_KIDS, self::CODE_TOP_SALE_KIDS);
|
83
|
break;
|
83
|
break;
|
84
|
case 4: // 创意生活
|
84
|
case 4: // 创意生活
|
85
|
- $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT, self::CODE_TOP_SALE_LIFESTYLE);
|
85
|
+ $result = self::cacheControl(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT_LIFESTYLE, self::CODE_TOP_SALE_LIFESTYLE);
|
86
|
break;
|
86
|
break;
|
87
|
}
|
87
|
}
|
88
|
|
88
|
|