Authored by whb

testing

@@ -56,7 +56,7 @@ class SearchData extends \LibModels\Wap\Product\SearchData @@ -56,7 +56,7 @@ class SearchData extends \LibModels\Wap\Product\SearchData
56 return 'http://101.200.31.165/yohosearch/shops.json'; 56 return 'http://101.200.31.165/yohosearch/shops.json';
57 } 57 }
58 return 'http://101.200.31.165/yohosearch/search.json'; 58 return 'http://101.200.31.165/yohosearch/search.json';
59 - case 'test': 59 + case 'testing':
60 case 'developer': 60 case 'developer':
61 default: 61 default:
62 if ($type == 'sort') { 62 if ($type == 'sort') {
@@ -34,21 +34,21 @@ class HomeModel @@ -34,21 +34,21 @@ class HomeModel
34 const COOKIE_NAME_LIFESTYLE = 'lifestyle'; 34 const COOKIE_NAME_LIFESTYLE = 'lifestyle';
35 35
36 //release: test: 36 //release: test:
37 - //boys:79372627eee75d73afe7f9bac91e5ce6, c15bf0cbfbd4893fd70c869c991f6d3d  
38 - //girls: 75215008957605c05e8cd375eac4f817, a519ba44ef3a85cf3c05e405c6ba8e53  
39 - //kids:d71f4b27f2a7229fbb31a4bc490a6f36,a7741b94e8bb9d56d0d36e00c05956f7  
40 - //lifestyle:8a341ca7eacc069ba80f02dec80eaf34,1b053fd044834f5c86d5eb15fb237af9 37 + //boys:79372627eee75d73afe7f9bac91e5ce6, c15bf0cbfbd4893fd70c869c991f6d3d
  38 + //girls: 75215008957605c05e8cd375eac4f817, a519ba44ef3a85cf3c05e405c6ba8e53
  39 + //kids:d71f4b27f2a7229fbb31a4bc490a6f36,a7741b94e8bb9d56d0d36e00c05956f7
  40 + //lifestyle:8a341ca7eacc069ba80f02dec80eaf34,1b053fd044834f5c86d5eb15fb237af9
41 41
42 // 男首首页 42 // 男首首页
43 - const CODE_BOYS_CHANNEL = '79372627eee75d73afe7f9bac91e5ce6';//'c15bf0cbfbd4893fd70c869c991f6d3d'; 43 + const CODE_BOYS_CHANNEL = (APPLICATION_ENV == 'release' || APPLICATION_ENV == 'preview') ? '79372627eee75d73afe7f9bac91e5ce6': 'c15bf0cbfbd4893fd70c869c991f6d3d';
44 // 女首首页 44 // 女首首页
45 - const CODE_GIRLS_CHANNEL = '75215008957605c05e8cd375eac4f817';//'a519ba44ef3a85cf3c05e405c6ba8e53'; 45 + const CODE_GIRLS_CHANNEL = (APPLICATION_ENV == 'release' || APPLICATION_ENV == 'preview') ? '75215008957605c05e8cd375eac4f817': 'a519ba44ef3a85cf3c05e405c6ba8e53';
46 46
47 // 潮童首页 47 // 潮童首页
48 - const CODE_KIDS_CHANNEL = 'd71f4b27f2a7229fbb31a4bc490a6f36';//'a7741b94e8bb9d56d0d36e00c05956f7'; 48 + const CODE_KIDS_CHANNEL = (APPLICATION_ENV == 'release' || APPLICATION_ENV == 'preview') ? 'd71f4b27f2a7229fbb31a4bc490a6f36':'a7741b94e8bb9d56d0d36e00c05956f7';
49 49
50 // 创意生活新 50 // 创意生活新
51 - const CODE_LIFESTYLE_CHANNEL = '8a341ca7eacc069ba80f02dec80eaf34';//'8a341ca7eacc069ba80f02dec80eaf34'; 51 + const CODE_LIFESTYLE_CHANNEL = (APPLICATION_ENV == 'release' || APPLICATION_ENV == 'preview') ? '8a341ca7eacc069ba80f02dec80eaf34': '8a341ca7eacc069ba80f02dec80eaf34';
52 52
53 // 创意生活 53 // 创意生活
54 const CODE_LIFESTYLE_CHANNEL_1 = '380c38155fd8beee10913a3f5b462da6'; 54 const CODE_LIFESTYLE_CHANNEL_1 = '380c38155fd8beee10913a3f5b462da6';