开发版支持oracle、mysql,规范权限串

This commit is contained in:
thinkgem
2018-03-03 22:55:25 +08:00
parent f277064e06
commit f6ccaebfc2
5 changed files with 5 additions and 5 deletions

View File

@@ -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", "正在研发中,敬请期待!");

View File

@@ -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";

View File

@@ -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

View File

@@ -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: 执行器可以重复执行语句和批量更新) -->