###数据库配置 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
application-dev.properties
该配置文件详细设定了SpringBoot应用的数据源连接(包括MySQL数据库的URL、用户名和密码),时间格式,文件上传的根路径,以及使用Redis作为缓存和session存储的相关参数。同时,提到了Nginx服务器的路径配置。
摘要由CSDN通过智能技术生成