完善SQL

This commit is contained in:
2018-06-24 16:43:30 +08:00
parent cfc1922339
commit 8299c4821f
3 changed files with 122 additions and 65 deletions

View File

@@ -0,0 +1,36 @@
#开发环境配置文件
server:
servlet:
context-path: /fileupload
port: 8080
serverproperties:
portNum: 8080
filePath: /www/fileupload/filedisk
spring:
thymeleaf:
prefix: classpath:/templates/
cache: false
check-template: true
servlet:
multipart:
max-file-size: 500Mb
max-request-size: 500Mb
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db_sysrbacdemo?useUnicode=true&characterEncoding=utf-8&useSSL=true
username: trs
password: fileupload
jpa:
hibernate:
ddl-auto: update
show-sql: true
data:
elasticsearch:
cluster-name: Fjiayang
cluster-nodes: 127.0.0.1:9300
#resources:
# static-locations: classpath:/templates/
debug: true

View File

@@ -1,3 +1,3 @@
spring:
profiles:
active: dev
active: prod