建立机场项目后端管理Api的基础框架

1. 增加全局异常捕获处理
2. 增加RestfulApi调用的日志打印,请求参数返回参数
3. 添加双数据源配置(mysql,oracle) 其中oracle为基础旧有数据
4. 增加统一日志中心的配置ELK
5. 实现Controller层,DAO 层 ,Entity 层,Service 层 (轻)
This commit is contained in:
zhouxiunai
2018-10-22 18:26:43 +08:00
parent b2fdfe69b5
commit f46487501a
9 changed files with 116 additions and 146 deletions
+2 -13
View File
@@ -9,7 +9,7 @@ spring:
test-on-borrow: true
initial-size: 3
third:
secondary:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.2.105:1521/orcl
@@ -17,15 +17,4 @@ spring:
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
secondary:
username: dc0305
password: 123456
url: jdbc:oracle:thin:@130.120.2.219:1521/orcl
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
initial-size: 3