|
@@ -126,15 +126,15 @@ switch ($action) {
|
|
|
$children[] = array("index" =>$index.'-7',"label" =>"Template Management","path"=>"/template-management");
|
|
$children[] = array("index" =>$index.'-7',"label" =>"Template Management","path"=>"/template-management");
|
|
|
}
|
|
}
|
|
|
$children[] = array("index" =>$index.'-1',"label" =>"System Message","path"=>"/system-message");
|
|
$children[] = array("index" =>$index.'-1',"label" =>"System Message","path"=>"/system-message");
|
|
|
- $children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/SystemSettings");
|
|
|
|
|
|
|
+ $children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/system-settings");
|
|
|
//只有chud的账户可以看日志记录
|
|
//只有chud的账户可以看日志记录
|
|
|
if(strtolower(_getLoginName()) == "chud"
|
|
if(strtolower(_getLoginName()) == "chud"
|
|
|
|| strtolower(_getLoginName()) == strtolower("IT.Andywu")
|
|
|| strtolower(_getLoginName()) == strtolower("IT.Andywu")
|
|
|
|| strtolower(_getLoginName()) == "ra.admin"){
|
|
|| strtolower(_getLoginName()) == "ra.admin"){
|
|
|
$children[] = array("index" =>$index.'-3',"label" =>"Chat Log","path"=>"/chat-log");
|
|
$children[] = array("index" =>$index.'-3',"label" =>"Chat Log","path"=>"/chat-log");
|
|
|
$children[] = array("index" =>$index.'-4',"label" =>"AI API Log","path"=>"/ai-api-log");
|
|
$children[] = array("index" =>$index.'-4',"label" =>"AI API Log","path"=>"/ai-api-log");
|
|
|
- $children[] = array("index" =>$index.'-5',"label" =>"Operation Log","path"=>"/Operationlog");
|
|
|
|
|
- $children[] = array("index" =>$index.'-6',"label" =>"Prompt Configuration","path"=>"/PromptConfiguration");
|
|
|
|
|
|
|
+ $children[] = array("index" =>$index.'-5',"label" =>"Operation Log","path"=>"/operation-log");
|
|
|
|
|
+ $children[] = array("index" =>$index.'-6',"label" =>"Prompt Configuration","path"=>"/prompt-configuration");
|
|
|
}
|
|
}
|
|
|
$systemManagement["children"] = $children;
|
|
$systemManagement["children"] = $children;
|
|
|
if (!empty($children)){
|
|
if (!empty($children)){
|