Result = bizbase_AAAEntityHandle($subSystem, $handleMode, $baseUser, $ajaxdata, $GPC); break; case "PlatConfigEntity": switch($handleMode){ case "fetchRecuritRule": case "updateRecuritRule": $allowed = bizPlater_verifyPermisson($baseUser, "Page", array("recuritAdmin","issueQuantity")); break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持或不可访问的handleMode!"); } $ajaxRes->Result = bizbase_platConfigEntityHandle($subSystem, $handleMode, $baseUser, $ajaxdata, $GPC); break; case "AgreementEntity": $allowed=bizPlater_verifyPermisson($baseUser,"Page",array("configAdmin")); switch($handleMode){ case "fetch": break; case "fetchall": break; case "update": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_agreementEntityHandle($subSystem,$handleMode, $ajaxdata, $GPC); break; case "CyclePicShowEntity": $allowed=bizPlater_verifyPermisson($baseUser,"Page",array("recuritAdmin","slideshow")); switch($handleMode){ case "fetch": break; case "fetchall": break; case "upsert": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_cyclePicShowEntityHandle($subSystem,$handleMode, $ajaxdata, $GPC); break; case "RecruitEntity": $allowed=bizPlater_verifyPermisson($baseUser,"Page",array("recuritAdmin","recuritAdmin")); switch($handleMode){ case "fetch": $handleMode="fetchByPlater"; break; case "audit": case "downdrop": case "pushTop": case "topHandle": case "feeCalculate": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持或不可访问的handleMode!"); } $ajaxRes->Result = bizbase_recruitEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "TodoWorkEntity": $allowed=bizPlater_verifyPermisson($baseUser,"Page",array("orderAdmin")); switch($handleMode){ case "fetch": $handleMode="fetchByPlater"; break; case "fetchTeam": $handleMode="fetchTeamByPlater"; break; case "fetchTeamFollow": $handleMode="fetchTeamFollowByPlater"; break; case "paySettle": $handleMode="paySettleByPlater"; break; case "denyPayAudit": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持或不可访问的handleMode!"); } $ajaxRes->Result = bizbase_todoworkEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "WorkerEntity": switch($handleMode){ case "fetch": $handleMode="fetchByPlater"; break; case "blackhandle": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_workerEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "TraderEntity": switch($handleMode){ case "fetch": $handleMode="fetchByPlater"; break; case "blackhandle": case "certifConfirmed": case "adjustLevel": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_traderEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "TraServiceEntity": switch($handleMode){ case "fetch": case "upsert": case "delete": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_traServiceEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "NoticeEntity": switch($handleMode){ case "fetch": case "upsert": case "delete": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_noticeEntityHandle($subSystem, $baseUser, null,$handleMode, $ajaxdata, $GPC); break; case "AppraisalEntity": switch($handleMode){ case "delete": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_appraisalEntityHandle($subSystem,$baseUser,null,$handleMode, $ajaxdata, $GPC); break; case "MActivityEntity": switch($handleMode){ case "fetch": case "upsert": case "delete": case "pushTop": case "topHandle": case "dropdown": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_mactivityEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "InteractionEntity": switch($handleMode){ case "fetchSuggestion": case "finishSuggestion": case "deleteSuggestion": case "fetchComplaint": case "finishComplaint": case "deleteComplaint": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_interactionEntityHandle($subSystem, $baseUser, null, $handleMode, $ajaxdata, $GPC); break; case "StatisticsEntity": switch($handleMode){ case "fetchall": $handleMode="fetchallByPlater"; break; case "fetchmoney": $handleMode="fetchmoneyByPlater"; break; case "fetchUndoList": break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } $ajaxRes->Result = bizbase_statisticsEntityHandle($subSystem,$handleMode, $baseUser, null, $ajaxdata, $GPC); break; case "TXCLOUD_OCR": $ocrParams=isset($ajaxdata["ocrParams"])?$ajaxdata["ocrParams"]:$GPC["ocrParams"]; if(empty($ocrParams)) throw new GeneralException("","没有传递必要的ocrParams参数"); require_once WEB_PHY_ROOT."/base/wxsrv.php"; switch($handleMode){ case "IDCardOCR": $ajaxRes->Result =txcloud_ocr($handleMode,$ocrParams); break; case "BizLicenseOCR": $ajaxRes->Result =txcloud_ocr($handleMode,$ocrParams); break; default: throw new GeneralException("","entityDataHandle-{$bizCatalog}不支持的handleMode!"); } break; default: throw new GeneralException("","不支持的bizCatalog!"); } }catch(Throwable $e){ $friendMsg=get_class($e)=='GeneralException'?$e->friendmsg:$e->getMessage(); throw new GeneralException("","通用的实体数据存取接口异常:".$friendMsg,LOG_CATALOG,0,$e); }