no commit message

This commit is contained in:
annnj-company
2026-04-27 10:10:35 +08:00
parent 68a0b1ab22
commit 6fc3e6b64f
19 changed files with 1058 additions and 64 deletions

View File

@@ -59,7 +59,9 @@ class Base extends Controller {
*/
public function isAdmin()
{
return in_array("Biz_system_admin", $this->userInfo['roleCode']);
return in_array("Biz_system_admin", $this->userInfo['roleCode']) ||
in_array("admin", $this->userInfo['roleCode']) ||
in_array("COM_TOP_ADMIN", $this->userInfo['roleCode']);
}
/**