application-dev.properties

该配置文件详细设定了SpringBoot应用的数据源连接(包括MySQL数据库的URL、用户名和密码),时间格式,文件上传的根路径,以及使用Redis作为缓存和session存储的相关参数。同时,提到了Nginx服务器的路径配置。
摘要由CSDN通过智能技术生成
###数据库配置
spring.datasource.url=jdbc:mysql://localhost:3306/ipdp?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8&allowPublicKeyRetrieval=true
spring.datasource.username=root
spring.datasource.password=root

###时间
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8

###上传文件根路径
app.file.upload.root.path=H:\\csii\\file\\attachment
app.file.root.path =H:\\csii\\file\\attachment

app.mock.port.min=8088
app.mock.port.max=8099

app.generation.project.root.path=.\\generation\\project
app.generation.api.root.path=.\\generation\\api

##redis
spring.redis.host=localhost
#spring.redis.password=redis
spring.redis.port=6379
####Spring Session
spring.session.store-type=redis
# Sessions flush mode.
spring.session.redis.flush-mode=on_save

##Nginx
nginx.path=http://192.168.110.132:80/photo
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值