Browse Source

更新sql

laiguoran 5 years ago
parent
commit
56a9189553
2 changed files with 3 additions and 2 deletions
  1. 2 1
      app/view/layout/layout.ejs
  2. 1 1
      sql/update.sql

+ 2 - 1
app/view/layout/layout.ejs

@@ -21,7 +21,8 @@
     <% } %>
 </head>
 
-<body oncontextmenu="return false;"> <!--屏蔽input鼠标右键-->
+<!--<body oncontextmenu="return false;"> &lt;!&ndash;屏蔽input鼠标右键&ndash;&gt;-->
+<body> <!--屏蔽input鼠标右键-->
 <div>
 
 </div>

+ 1 - 1
sql/update.sql

@@ -271,5 +271,5 @@ ADD COLUMN `bind` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否已绑定定制
 -- 权限控制表,新增部分权限
 -- ----------------------------
 INSERT INTO `calculation`.`zh_permission` (`id`, `name`, `controller`, `action`, `pid`, `icon_class`, `create_time`, `isshow`) VALUES ('67', '系统维护', 'maintain', '', '11', '', NULL, '1');
-INSERT INTO `calculation`.`zh_permission` (`id`, `name`, `controller`, `action`, `pid`, `icon_class`, `create_time`, `isshow`) VALUES ('68', '第三方接口', 'project', 'api2other', '38', '', NULL, '1');
+INSERT INTO `calculation`.`zh_permission` (`id`, `name`, `controller`, `action`, `pid`, `icon_class`, `create_time`, `isshow`) VALUES ('68', '第三方接口', 'project', 'api2other', '38', 'api2other', NULL, '1');
 INSERT INTO `calculation`.`zh_permission` (`id`, `name`, `controller`, `action`, `pid`, `icon_class`, `create_time`, `isshow`) VALUES ('69', '第三方接口设置', 'project', 'api2otherSave', '38', '', NULL, '1');