Authored by hf

code review by fei.hong: do modify cartData call api get to post

... ... @@ -386,7 +386,7 @@ class CartData
$param['remark'] = $remark;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::post(Yohobuy::API_URL, $param, false, false, 10, $userAgent);
return Yohobuy::get(Yohobuy::API_URL, $param, false, false, 10, $userAgent);
}
/**
... ...
... ... @@ -67,7 +67,7 @@ class HomeModel
$menu = Cache::get($key);
//数据缓存不存在
if(empty($menu)) {
$data = IndexData::getNavData();
$data = IndexData::getNavData();
//接口存在数据
if(!empty($data['data'])) {
$item = array();
... ...