Authored by hf

code review by fei.hong: do merge yang.yang and shaofeng.zhou fixes bugs codes

... ... @@ -53,10 +53,9 @@ class BrandsModel
//获取静态内容
if ($options['node']) {
$nodeContent = HelperSearch::getNodeContent($options['node']);
$result['leftContent'][]['picLink']['list'] = $nodeContent;
$result['leftContent'][]['cardHtml'] = $nodeContent;
}
return $result;
}
... ...
... ... @@ -72,7 +72,7 @@ class SaleModel
//获取广告位数据
if (isset($special['left_ad_code'])) {
$nodeContent = HelperSearch::getNodeContent($special['left_ad_code']);
$result['leftContent'][]['picLink']['list'] = $nodeContent;
$result['leftContent'][]['cardHtml'] = $nodeContent;
}
... ...
... ... @@ -4,7 +4,7 @@ define('SITE_MAIN', 'http://web.dev.yohobuy.com'); // 网站主域名
define('OLD_MAIN', 'http://www.yohobuy.com'); // 网站旧域名
define('COOKIE_DOMAIN', '.yohobuy.com'); // COOKIE作用域
define('SUB_DOMAIN', '.yohobuy.com'); // 子域名后缀
define('USE_CACHE', true); // 缓存的开关
define('USE_CACHE', false); // 缓存的开关
define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录
define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
... ...