增加jdbc.jta.enabled分布式事务开关(默认false)

This commit is contained in:
thinkgem
2018-06-02 12:27:03 +08:00
parent e1608eda1f
commit 2f4a4b18f8
3 changed files with 4 additions and 54 deletions

View File

@@ -1,27 +0,0 @@
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
package com.jeesite.modules.state.web;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* EhCache管理
* @author ThinkGem
* @version 2017年12月31日
*/
@Controller
@RequestMapping(value="${adminPath}/state/ehcache")
public class EhCacheController {
@RequiresPermissions("sys:stste:ehcache")
@RequestMapping(value="")
public String index(Model model){
model.addAttribute("message", "正在研发中,敬请期待!");
return "modules/state/ehcacheIndex";
}
}

View File

@@ -1,27 +0,0 @@
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
package com.jeesite.modules.state.web;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* 服务器状态
* @author ThinkGem
* @version 2017年12月31日
*/
@Controller
@RequestMapping(value="${adminPath}/state/server")
public class ServerStateController {
@RequiresPermissions("sys:state:server")
@RequestMapping(value="")
public String index(Model model){
model.addAttribute("message", "正在研发中,敬请期待!");
return "modules/state/serverIndex";
}
}

View File

@@ -43,6 +43,10 @@ jdbc:
# init: 1
# minIdle: 3
# maxActive: 20
# JTA 分布式事务
jta:
enabled: false
# 表名前缀
tablePrefix: js_