Authored by 周少峰

home product

... ... @@ -65,6 +65,10 @@ class IndexModel
$url['fav_brand'] = SearchData::getBrandListUrl();
//新品上架
$productParam['new'] = 'Y';
$productParam['sales'] = 'Y';
$productParam['outlets'] = 2;
$productParam['stocknumber'] = 1;
$productParam['order'] = 's_t_desc';
$productParam['viewNum'] = 10;
$url['new'] = SearchData::webSearchByCondition($productParam, true);
//调用接口数据
... ...
... ... @@ -21,7 +21,7 @@ define('USE_INTER_FACE_SHUNT', false);//分流开关
//define('API_OLD', 'http://test2.open.yohobuy.com/');
#dev环境
define('API_URL', 'http://dev-api.yohops.com:9999/');
define('API_URL', 'http://api-test4.yohops.com:9999');
define('SERVICE_URL', 'http://dev-service.yohops.com:9999/');
define('YOHOBUY_URL', 'http://www.yohobuy.com/');
define('SERVICE_NOTIFY', 'http://test2.open.yohobuy.com/');
... ...