Authored by hf

modify api to yohobuy test env

@@ -258,9 +258,10 @@ class FloorProcess @@ -258,9 +258,10 @@ class FloorProcess
258 if(empty($data)){ 258 if(empty($data)){
259 return array(); 259 return array();
260 } 260 }
  261 +
261 $data['name'] = $data['title']; 262 $data['name'] = $data['title'];
262 - $data['img'] = Images::getImageUrl($data['src'], 640, 198, 2); 263 + $data['img'] = Helpers::getImageUrl($data['src'], 640, 198, 2);
263 264
264 - return array('plusStar'=>$data['data']); 265 + return array('plusStar'=>$data);
265 } 266 }
266 } 267 }