Authored by biao

update for models of Index. code review by HongFei

... ... @@ -19,6 +19,6 @@ class IndexData {
{
$param = Yohobuy::param();
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get('http://service.api.yohobuy.com/operations/api/v5/entrance/getEntrance',$param);
return Yohobuy::get(Yohobuy::SERVICE_URL . 'operations/api/v5/entrance/getEntrance',$param);
}
}
... ...
... ... @@ -19,6 +19,7 @@ class IndexModel
$result = array();
$result['showYohood'] = false;
$data = IndexData::channelData();
$channelList = array();
... ...