开发版支持oracle、mysql,规范权限串
This commit is contained in:
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@RequestMapping(value="${adminPath}/state/ehcache")
|
||||
public class EhCacheController {
|
||||
|
||||
@RequiresPermissions("stste:ehcache")
|
||||
@RequiresPermissions("sys:stste:ehcache")
|
||||
@RequestMapping(value="")
|
||||
public String index(Model model){
|
||||
model.addAttribute("message", "正在研发中,敬请期待!");
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@RequestMapping(value="${adminPath}/state/server")
|
||||
public class ServerStateController {
|
||||
|
||||
@RequiresPermissions("stste:server")
|
||||
@RequiresPermissions("sys:stste:server")
|
||||
@RequestMapping(value="")
|
||||
public String index(){
|
||||
return "modules/state/serverIndex";
|
||||
|
||||
Binary file not shown.
@@ -235,7 +235,7 @@ shiro:
|
||||
sso:
|
||||
|
||||
# 如果启用/sso/{username}/{token}单点登录,请修改此安全key并与单点登录系统key一致。
|
||||
secretKey: abc
|
||||
secretKey: ~
|
||||
|
||||
# 是否加密单点登录安全Key
|
||||
encryptKey: true
|
||||
@@ -280,7 +280,7 @@ shiro:
|
||||
defaultFilterChainDefinitions: |
|
||||
/static/** = anon
|
||||
/userfiles/** = anon
|
||||
/druid/** = perms[state:druid]
|
||||
/druid/** = perms[sys:state:druid]
|
||||
${adminPath}/login-cas = cas
|
||||
${adminPath}/login = authc
|
||||
${adminPath}/logout = logout
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<!-- 允许JDBC 生成主键。需要驱动器支持。如果设为了true,这个设置将强制使用被生成的主键,有一些驱动器不兼容不过仍然可以执行。 default:false -->
|
||||
<setting name="useGeneratedKeys" value="false"/>
|
||||
|
||||
<!-- 指定 MyBatis 如何自动映射 数据基表的列 NONE:不隐射 PARTIAL:部分 FULL:全部 -->
|
||||
<!-- 指定 MyBatis 如何自动映射 数据基表的列 NONE:不映射 PARTIAL:部分 FULL:全部 -->
|
||||
<setting name="autoMappingBehavior" value="PARTIAL"/>
|
||||
|
||||
<!-- 这是默认的执行类型 (SIMPLE: 简单; REUSE: 执行器可能重复使用prepared statements语句;BATCH: 执行器可以重复执行语句和批量更新) -->
|
||||
|
||||
Reference in New Issue
Block a user