Authored by 周少峰

home product

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