예제 #1
0
 /**
  * 获取房源质量信息
  *
  * @param array $houseIds
  * @return array
  */
 public static function getHouseSollyResult($houseIds)
 {
     $houseSollyResultList = Bll_House_EsfHouse::getHouseRank($houseIds);
     $rankTips = array('待评', '中等', '良好', '优质');
     $rtn = array();
     foreach ($houseSollyResultList as $houseSollyResult) {
         if (isset($rankTips[$houseSollyResult['rankStar']])) {
             $rtn[$houseSollyResult['propId']] = $rankTips[$houseSollyResult['rankStar']];
         }
     }
     return $rtn;
 }