diff --git a/pmcalendar.php b/pmcalendar.php
index bbdbbb0..92574cf 100644
--- a/pmcalendar.php
+++ b/pmcalendar.php
@@ -2,7 +2,7 @@
$user = SESS::get('EVENTUserInfo');
// if(isn($user))exit();
$user = json_decode($user, true);
-// $user['name'] = "罗松柏";
+$user['name'] = "罗松柏";
$canEdit = in_array($user['name'], $ROLES);
$isgxvrole ='1'; //in_array($user['name'], $GXVROLES); //更新信息查看区浏览权限
$isgxyyerole = in_array($user['name'], $GXYYEROLES);//更新运营中心编辑权限
@@ -326,8 +326,8 @@ if ($act == 'newevent') {
-
编辑游戏 } ?>
-
+
+
编辑游戏
")
+ console.log("=$isxfyyerole?>")
+ console.log("=$canEdit?>")
if ("=$isxfvrole?>" != "1" && "=$isxfyyerole?>" != "1" && "=$canEdit?>" != "1") {
+ console.log(2222)
return
} else {
+ console.log(1111)
$('#uploader').attr('action', './?app=uploader&id=' + calEvent.id + '&bumen=chanpin&act=add');
$('#uploader_yy').attr('action', './?app=uploader&id=' + calEvent.id + '&bumen=yunyig&act=add')
$("#uploader_yf").attr('action', './?app=uploader&id=' + calEvent.id + '&bumen=yanfa&act=add')