Authored by yangyang

修改yohood地址为写死的

@@ -345,28 +345,28 @@ class HomeModel @@ -345,28 +345,28 @@ class HomeModel
345 $build = array(); 345 $build = array();
346 switch (intval($value['channel_id'])) { 346 switch (intval($value['channel_id'])) {
347 case 1: 347 case 1:
348 - $build['href'] = Helpers::getFilterUrl($value['url']); 348 + $build['href'] = '/boys';
349 $build['title'] = '男生'; 349 $build['title'] = '男生';
350 $build['entitle'] = 'BOYS'; 350 $build['entitle'] = 'BOYS';
351 break; 351 break;
352 case 2: 352 case 2:
353 - $build['href'] = Helpers::getFilterUrl($value['url']); 353 + $build['href'] = '/girls';
354 $build['title'] = '女生'; 354 $build['title'] = '女生';
355 $build['entitle'] = 'GIRLS'; 355 $build['entitle'] = 'GIRLS';
356 break; 356 break;
357 case 3: 357 case 3:
358 - $build['href'] = Helpers::getFilterUrl($value['url']); 358 + $build['href'] = '/kids';
359 $build['title'] = '潮童'; 359 $build['title'] = '潮童';
360 $build['entitle'] = 'KIDS'; 360 $build['entitle'] = 'KIDS';
361 break; 361 break;
362 case 4: 362 case 4:
363 - $build['href'] = Helpers::getFilterUrl($value['url']); 363 + $build['href'] = '/lifestyle';
364 $build['title'] = '创意生活'; 364 $build['title'] = '创意生活';
365 $build['entitle'] = 'LIFESTYLE'; 365 $build['entitle'] = 'LIFESTYLE';
366 break; 366 break;
367 case 5: 367 case 5:
368 $result['showYohood'] = true; 368 $result['showYohood'] = true;
369 - $result['yohoodHref'] = Helpers::getFilterUrl($value['url']); 369 + $result['yohoodHref'] = 'http://yohood.cn';
370 break; 370 break;
371 default: 371 default:
372 continue; 372 continue;