/** * 删除房源,套餐推广的房源维护套餐推广状态 * * @param int $brokerId * @param int $cityId * @param int|array $houseIds * @return bool */ public static function deleteHouseCombo($brokerId, $cityId, $houseIds) { $houseIds = is_array($houseIds) ? $houseIds : explode(',', $houseIds); if (Bll_Ppc_ServiceAPI::ComboDeleteHouse($brokerId, $houseIds)) { /*$houseRelationList = Bll_Combo_HouseRelation::getHouseRelation($brokerId, $cityId, $houseIds, Bll_Combo_HouseRelation::SITE_TYPE_AJK); foreach ($houseRelationList as $houseRelation) { if (Bll_Combo_HouseRelation::isRelationOnline($houseRelation['state'])) { Bll_Combo_HouseRelation::updateComboStatusById($houseRelation['id'], Model_Combo_HouseRelation::ENUM_HOUSE_HANDLE, Bll_Combo_HouseRelation::SITE_TYPE_AJK); } }*/ return true; } return false; }