/** * 获得所有自定义路由 */ public function actionGetCustomRoute() { try { $data = RouteModel::getCustomRoute(); return Utils::responseOK($data); } catch (JdbRbacException $e) { return Utils::handlerForException($e); } }