Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
syzy_se
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
管理员
syzy_se
Commits
aaa1031b
Commit
aaa1031b
authored
Nov 25, 2022
by
miaojianfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
顺义中医项目初始化
parent
14e5b7ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
137 deletions
+87
-137
application-dev.properties
src/main/resources/application-dev.properties
+0
-121
application.properties
src/main/resources/application.properties
+87
-16
No files found.
src/main/resources/application-dev.properties
deleted
100644 → 0
View file @
14e5b7ad
#默认数据库配置
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/zy_se?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
#spring.datasource.username=root
#spring.datasource.password=123456
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#默认数据库配置
spring.datasource.url
=
jdbc:mysql://39.98.208.200:3388/zy_se?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
spring.datasource.username
=
root
spring.datasource.password
=
haosqlenterprise1604spk.0
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.mail.host
=
smtphz.qiye.163.com
spring.mail.username
=
xitongyoujian@bjzhongyi.com
spring.mail.password
=
Cn89mx3Xhy99E2A4
spring.mail.properties.mail.smtp.auth
=
true
spring.mail.properties.mail.smtp.starttls.enable
=
true
spring.mail.properties.mail.smtp.starttls.required
=
true
#多数据源配置
beetlsql.ds.datasource.basePackage
=
com.spk
beetlsql.mutiple.datasource
=
datasource
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
#user.id=1
#user.orgId=1
#打开审计功能,开发模式应该关闭
audit.enable
=
true
#spring.cache.type=
spring.cache.type
=
SIMPLE
logging.level.root
=
info,debug
logging.level.org.springframework.web.servlet.mvc.method.annotation
=
warn
#logging.file = my.log
server.port
=
8080
server.max-http-header-size
=
10000000
#应用访问路径
server.servlet.context-path
=
/console
#html视图交给beetl渲染
beetl.suffix
=
html
app.name
=
北京中医医院科教资源管理系统
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
spring.devtools.restart.exclude
=
templates/**,static/**,sql/**
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
#file.previewURL=http://"+window.location.host+"/onlinePreview
#调用文档预览服务时 下载文件url前缀
file.downloadPrefix
=
http://"+window.location.host+"
#eureka-client
#是否开启eureka服务
eureka.client.enabled
=
false
spring.application.name
=
console-service
eureka.client.serviceUrl.defaultZone
=
http://localhost:8761/eureka/
#session超时时间,单位秒
server.servlet.session.timeout
=
180000
server.session.cookie.secure
=
true
server.session.cookie.http-only
=
false
#是否开启session超时检测
session.checkLoginEnable
=
true
#session拦截器会忽略这些地址
session.ExcludePathPatterns
=
/,/login.do,/logout.do,/getRandom.do,/zy/loginAjax.do,/reLogin.do,/remind,/checkUserOnline,/loginRegister.do,/loginPassword.do,/loginPasswords.do,/register.json
#session拦截器只检测这些请求后缀
session.PathPatterns
=
.json,.do,.html
#session持久化到redis的配置,无需redis时配置为none
#spring.session.store-type=redis
spring.session.store-type
=
none
#redis相关配置
#spring.redis.database=0
#spring.redis.host=localhost
#spring.redis.port=6379
#是否允许用户重复登录
session.canRepeatLogin
=
true
#是否开启功能点权限访问控制
core.functionAccessEnable
=
false
#springboot admin 是否开启
spring.boot.admin.client.enabled
=
false
#客户端注册到监控中心的地址
spring.boot.admin.client.url
=
http://localhost:8899
#监控中学的用户名、密码
spring.boot.admin.client.username
=
root
spring.boot.admin.client.password
=
123456
#禁用redis服务的监控
management.health.redis.enabled
=
false
management.endpoints.web.exposure.include
=
*
#禁止访问这些服务
#management.endpoints.web.exposure.exclude=env,beans
#management.endpoints.jmx.exposure.exclude=beans
management.endpoint.health.show-details
=
always
#禁用关闭服务
management.endpoint.health.shutdown.enable
=
false
#限制文件上传大小
spring.servlet.multipart.maxFileSize
=
100Mb
spring.servlet.multipart.maxRequestSize
=
100Mb
#跳转BI认证地址
bi.auth.url
=
http://localhost:7090/spk-platform-bi/user/check
spring.jmx.default-domain
=
console
#是否开启文件分布式存储,默认false,使用本地存储
platform.dfs.enable
=
false
#实现dfs实现的类型,如fastdfs,gridfs,使用该名称获取相应service
platform.dfs.type
=
gridfs
#gridfs服务url,多个用逗号隔开,例://192.168.0.1:27017,//192.168.0.2:27017
platform.dfs.gridfs.url
=
192.168.0.252:27017
platform.dfs.gridfs.dbname
=
gridfs
#platform.dfs.gridfs.username=
#platform.dfs.gridfs.password=
#是否开启密码aes加密 开启后数据库中密码需使用mysql aes函数对登录密码进行批量加密
isOpenPasswordAes
=
false
#完全禁用actuator
management.server.port
=
-1
\ No newline at end of file
src/main/resources/application.properties
View file @
aaa1031b
spring.datasource.url
=
jdbc:mysql://192.168.0.251:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
#默认数据库配置
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/zy_se?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
#spring.datasource.username=root
#spring.datasource.password=123456
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#默认数据库配置
spring.datasource.url
=
jdbc:mysql://39.98.208.200:3388/syzy_se?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
123456
spring.datasource.password
=
haosqlenterprise1604spk.0
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:oracle:thin:@127.0.0.1:1521:orcl
#spring.datasource.username=starter2
#spring.datasource.password=starter2
#spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.mail.host
=
smtphz.qiye.163.com
spring.mail.host
=
smtphz.qiye.163.com
spring.mail.username
=
xitongyoujian@bjzhongyi.com
spring.mail.username
=
xitongyoujian@bjzhongyi.com
spring.mail.password
=
eLchMv4FVQe48GGp
spring.mail.password
=
Cn89mx3Xhy99E2A4
spring.mail.properties.mail.smtp.auth
=
true
spring.mail.properties.mail.smtp.auth
=
true
spring.mail.properties.mail.smtp.starttls.enable
=
true
spring.mail.properties.mail.smtp.starttls.enable
=
true
spring.mail.properties.mail.smtp.starttls.required
=
true
spring.mail.properties.mail.smtp.starttls.required
=
true
#多数据源配置
beetlsql.ds.datasource.basePackage
=
com.spk
beetlsql.mutiple.datasource
=
datasource
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
#user.id=1
#user.id=1
#user.orgId=1
#user.orgId=1
#打开审计功能,开发模式应该关闭
#打开审计功能,开发模式应该关闭
audit.enable
=
true
audit.enable
=
true
spring.session.store-type
=
HASH_MAP
#spring.cache.type=
#spring.cache.type=
spring.cache.type
=
SIMPLE
spring.cache.type
=
SIMPLE
logging.level.root
=
info
logging.level.root
=
info
,debug
logging.level.org.springframework.web.servlet.mvc.method.annotation
=
warn
logging.level.org.springframework.web.servlet.mvc.method.annotation
=
warn
#logging.file = my.log
#logging.file = my.log
server.port
=
8080
server.port
=
8080
server.max-http-header-size
=
10000000
#应用访问路径
#应用访问路径
#
server.servlet.context-path=/console
server.servlet.context-path
=
/console
#html视图交给beetl渲染
#html视图交给beetl渲染
beetl.suffix
=
html
beetl.suffix
=
html
beetlsql.dbStyle
=
org.beetl.sql.core.db.MySqlStyle
app.name
=
北京中医医院科教资源管理系统
#beetlsql.basePackage=com.spk,com.xxx.yourpackage
beetlsql.basePackage
=
com
app.name
=
SpringBoot-Plus
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
spring.devtools.restart.exclude
=
templates/**
spring.devtools.restart.exclude
=
templates/**
,static/**,sql/**
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
file.previewURL
=
http://localhost:8012/onlinePreview
#file.previewURL=http://"+window.location.host+"/onlinePreview
#调用文档预览服务时 下载文件url前缀
file.downloadPrefix
=
http://"+window.location.host+"
#eureka-client
#eureka-client
...
@@ -47,4 +54,67 @@ eureka.client.enabled=false
...
@@ -47,4 +54,67 @@ eureka.client.enabled=false
spring.application.name
=
console-service
spring.application.name
=
console-service
eureka.client.serviceUrl.defaultZone
=
http://localhost:8761/eureka/
eureka.client.serviceUrl.defaultZone
=
http://localhost:8761/eureka/
#session超时时间,单位秒
server.servlet.session.timeout
=
180000
server.session.cookie.secure
=
true
server.session.cookie.http-only
=
false
#是否开启session超时检测
session.checkLoginEnable
=
true
#session拦截器会忽略这些地址
session.ExcludePathPatterns
=
/,/login.do,/logout.do,/getRandom.do,/zy/loginAjax.do,/reLogin.do,/remind,/checkUserOnline,/loginRegister.do,/loginPassword.do,/loginPasswords.do,/register.json
#session拦截器只检测这些请求后缀
session.PathPatterns
=
.json,.do,.html
#session持久化到redis的配置,无需redis时配置为none
#spring.session.store-type=redis
spring.session.store-type
=
none
#redis相关配置
#spring.redis.database=0
#spring.redis.host=localhost
#spring.redis.port=6379
#是否允许用户重复登录
session.canRepeatLogin
=
true
#是否开启功能点权限访问控制
core.functionAccessEnable
=
false
#springboot admin 是否开启
spring.boot.admin.client.enabled
=
false
#客户端注册到监控中心的地址
spring.boot.admin.client.url
=
http://localhost:8899
#监控中学的用户名、密码
spring.boot.admin.client.username
=
root
spring.boot.admin.client.password
=
123456
#禁用redis服务的监控
management.health.redis.enabled
=
false
management.endpoints.web.exposure.include
=
*
#禁止访问这些服务
#management.endpoints.web.exposure.exclude=env,beans
#management.endpoints.jmx.exposure.exclude=beans
management.endpoint.health.show-details
=
always
#禁用关闭服务
management.endpoint.health.shutdown.enable
=
false
#限制文件上传大小
spring.servlet.multipart.maxFileSize
=
100Mb
spring.servlet.multipart.maxRequestSize
=
100Mb
#跳转BI认证地址
bi.auth.url
=
http://localhost:7090/spk-platform-bi/user/check
spring.jmx.default-domain
=
console
#是否开启文件分布式存储,默认false,使用本地存储
platform.dfs.enable
=
false
#实现dfs实现的类型,如fastdfs,gridfs,使用该名称获取相应service
platform.dfs.type
=
gridfs
#gridfs服务url,多个用逗号隔开,例://192.168.0.1:27017,//192.168.0.2:27017
platform.dfs.gridfs.url
=
192.168.0.252:27017
platform.dfs.gridfs.dbname
=
gridfs
#platform.dfs.gridfs.username=
#platform.dfs.gridfs.password=
#是否开启密码aes加密 开启后数据库中密码需使用mysql aes函数对登录密码进行批量加密
isOpenPasswordAes
=
false
#完全禁用actuator
management.server.port
=
-1
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment