Beispiel #1
0
 /**
  * 查询是否购买该房源
  * @param $userId
  * @param $fPropId
  * @return bool
  */
 private function isBuyProp($userId, $fPropId)
 {
     $isBuy = Model_Fyk_UserProps::getDataByUserIdAndPropId($userId, $fPropId);
     if (empty($isBuy)) {
         return false;
     } else {
         return true;
     }
 }