예제 #1
0
 public function LoadAll()
 {
     $this->LogInfo("LoadALL");
     $Req = $this->GetReqObj();
     $condition['company_id'] = $Req->app_id;
     $db = $this->GetModel();
     try {
         $objectList = MispCommonService::GetAll($db, $condition);
     } catch (FuegoException $e) {
         $this->errorCode = $e->getCode();
         $this->ReturnJson();
         return;
     }
     $data['obj'] = $objectList;
     $this->ReturnJson($data);
 }