This commit is contained in:
wuhao 2020-12-10 16:11:59 +08:00
parent 7d2166f23c
commit ee7f19ac54
2 changed files with 10 additions and 0 deletions

View File

@ -8,4 +8,9 @@ $GXCPEROLES = $configJson['gxcperoles'];
$GXYFEROLES = $configJson['gxyferoles'];
$XFVROLES = $configJson['xfvroles'];
$XFYYEROLES = $configJson['xfyyeroles'];
$DBVROLES = $configJson['dbvroles'];
$DBYYEROLES = $configJson['dbyyeroles'];
$DBCPEROLES = $configJson['dbcperoles'];
$DBYFEROLES = $configJson['dbyferoles'];
?>

View File

@ -11,6 +11,11 @@ $isgxyferole = in_array($user['name'], $GXYFEROLES);//更新研发中心编辑
$isxfvrole = in_array($user['name'], $XFVROLES); //修复信息查看区浏览权限
$isxfyyerole = in_array($user['name'], $XFYYEROLES);//修复运营中心编辑权限
$isdbvrole ='1'; //in_array($user['name'], $DBVROLES); //打包信息查看区浏览权限
$isdbyyerole = in_array($user['name'], $DBYYEROLES);//打包运营中心编辑权限
$isdbcperole = in_array($user['name'], $DBCPEROLES);//打包产品中心编辑权限
$isdbyferole = in_array($user['name'], $DBYFEROLES);//打包研发中心编辑权限
function fix2($v)
{
$x = '00' . $v;