|
|
@@ -104,13 +104,13 @@ switch ($action) {
|
|
|
$systemManagement = array("index"=>"$index","label"=>"System Management","icon"=>"icon_system__management_fill_b","type"=>"list");
|
|
|
$children = array();
|
|
|
$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.'-3',"label" =>"Chat Log","path"=>"/chat-log");
|
|
|
- $children[] = array("index" =>$index.'-4',"label" =>"AI API Log","path"=>"/ai-api-log");
|
|
|
+ $children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/SystemSettings");
|
|
|
//只有chud的账户可以看日志记录
|
|
|
if(strtolower(_getLoginName()) == "chud"
|
|
|
|| strtolower(_getLoginName()) == strtolower("IT.Andywu")
|
|
|
|| strtolower(_getLoginName()) == "ra.admin"){
|
|
|
+ $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.'-5',"label" =>"Operation Log","path"=>"/Operationlog");
|
|
|
$children[] = array("index" =>$index.'-6',"label" =>"Prompt Configuration","path"=>"/PromptConfiguration");
|
|
|
}
|