Authored by whb

去掉解决

@@ -466,7 +466,7 @@ class Process @@ -466,7 +466,7 @@ class Process
466 $typeKey = sprintf("%s_%s", $type, $key + 2); 466 $typeKey = sprintf("%s_%s", $type, $key + 2);
467 $cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $typeKey); 467 $cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $typeKey);
468 Cache::set($cacheKey, $floor, 86400); 468 Cache::set($cacheKey, $floor, 86400);
469 - $result['preferenceBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey)); 469 + $result['preferenceBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey),'');
470 unset($data[$key], $data[$key + 1], $data[$key + 2]); 470 unset($data[$key], $data[$key + 1], $data[$key + 2]);
471 } 471 }
472 } 472 }
@@ -829,7 +829,7 @@ class Process @@ -829,7 +829,7 @@ class Process
829 $typeKey = sprintf("%s_%s", $type, $key); 829 $typeKey = sprintf("%s_%s", $type, $key);
830 $cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $typeKey); 830 $cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $typeKey);
831 Cache::set($cacheKey, $floor, 86400); 831 Cache::set($cacheKey, $floor, 86400);
832 - $result['hotBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey)); 832 + $result['hotBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey),'');
833 } 833 }
834 return $result; 834 return $result;
835 } 835 }
@@ -331,7 +331,7 @@ var handlebars = require("handlebars"); @@ -331,7 +331,7 @@ var handlebars = require("handlebars");
331 var json2 = require("index"); 331 var json2 = require("index");
332 var vipInfoCombine = null; //用户信息编译模板 332 var vipInfoCombine = null; //用户信息编译模板
333 var loginInfoCombine = null; //登录信息编译模板 333 var loginInfoCombine = null; //登录信息编译模板
334 -var apiDomain = 'http://test.open.yohobuy.com/'; //获取数据的地址http://api.open.yohobuy.com 334 +var apiDomain = 'http://api.open.yohobuy.com/'; //获取数据的地址http://api.open.yohobuy.com
335 var cartTpl = ''; //购物车模板 335 var cartTpl = ''; //购物车模板
336 /** 336 /**
337 * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) 337 * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现)
This diff could not be displayed because it is too large.