public function invoke($arrInput) { try { $arrRet["errno"] = Navilib_CommonError::SUCCESS; //获取历史记录 $objDataService = new Service_Data_Testman(); $arrRecode = $objDataService->getRecode(CURRENT_USER, "", 0, 50); $arrRet['data'] = $arrRecode['data']; //常用域名:0表示线下域名,1表示线上域名 $arrRet["data"]["freqDomain"] = $objDataService->getFreqDomain(); ksort($arrRet["data"]["freqDomain"]); //常用模块 $arrRet["data"]["freqModule"] = array("ucenter"); sort($arrRet["data"]["freqModule"]); return Navilib_Utils::result($arrRet["errno"], $arrRet["data"]); } catch (Exception $e) { Bd_Log::warning($e->getMessage(), $e->getCode()); return Navilib_Utils::result($e->getCode(), array()); } }