增加jdbc.jta.enabled分布式事务开关(默认false)
This commit is contained in:
@@ -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";
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -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";
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -43,6 +43,10 @@ jdbc:
|
|||||||
# init: 1
|
# init: 1
|
||||||
# minIdle: 3
|
# minIdle: 3
|
||||||
# maxActive: 20
|
# maxActive: 20
|
||||||
|
|
||||||
|
# JTA 分布式事务
|
||||||
|
jta:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# 表名前缀
|
# 表名前缀
|
||||||
tablePrefix: js_
|
tablePrefix: js_
|
||||||
|
|||||||
Reference in New Issue
Block a user