first commit

This commit is contained in:
2024-04-01 10:06:50 +08:00
commit 748a0b6c8f
1977 changed files with 138027 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
#数据源的地址
spring.datasource.url=jdbc:mysql://localhost:3306/db_boot_movie?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.continue-on-error=false
spring.datasource.test-while-idle=true
#获取连接时候验证,会影响性能
spring.datasource.test-on-borrow=false
#在连接归还到连接池时是否测试该连接
spring.datasource.test-on-return=false
spring.datasource.validation-query=SELECT 1 FROM DUAL
#空闲连接回收的时间间隔与test-while-idle一起使用设置5分钟
spring.datasource.time-between-eviction-runs-millis=300000
#连接池空闲连接的有效时间 设置30分钟
spring.datasource.min-evictable-idle-time-millis=1800000
spring.datasource.initial-size=5
#指定连接池中最大的活跃连接数.
spring.datasource.max-active=50
#指定连接池等待连接返回的最大等待时间,毫秒单位.
spring.datasource.max-wait=60000
#指定必须保持连接的最小值
spring.datasource.min-idle=5
spring.jpa.database=mysql
#是否打印显示sql语句到控制台
spring.jpa.show-sql=true
# 自动检查实体和数据库表是否一致,如果不一致则会进行更新数据库表
spring.jpa.hibernate.ddl-auto=update
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
#热部署生效
spring.devtools.restart.enabled=true
#图片上传设置
movie.upload.photo.sufix=.jpg,.png,.gif,.jpeg
movie.upload.photo.maxsize=1024
movie.upload.photo.path=D:/workspaceCustomMade/movie/src/main/resources/upload/
#视频上传设置
movie.upload.video.sufix=.mp4,.avi,.rmvb,.flv,.mkv,.wmv
movie.upload.video.maxsize=204800
movie.upload.video.path=D:/workspaceCustomMade/movie/src/main/resources/upload/video/
#数据库备份设置
movie.database.backup.dir=D:/workspaceCustomMade/movie/src/main/resources/backup/
movie.database.backup.username=ylrc
movie.database.backup.password=1
movie.database.backup.database.name=db_boot_movie
#最大选座数
movie.select.seat.max.num=4
#订单超时未支付取消时间
movie.order.timeout=900

View File

@@ -0,0 +1,37 @@
########################################################
########################################################
server.port=8080
server.servlet.session.timeout=1800
spring.jackson.time-zone=GMT+8
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
#定义加载的配置文件
spring.profiles.active=dev
###FREEMARKER
#设置是否允许HttpServletRequest属性重写隐藏控制器生成的同名模型属性。
spring.freemarker.allow-request-override=false
spring.freemarker.cache=false
spring.freemarker.check-template-location=true
spring.freemarker.charset=UTF-8
spring.freemarker.content-type=text/html
#设置是否应在与模板合并之前将所有请求属性添加到模型中。
spring.freemarker.expose-request-attributes=false
#设置是否允许HttpSession属性重写隐藏控制器生成的同名模型属性。
spring.freemarker.expose-session-attributes=false
#设置是否公开名为“Spring macro RequestContext”的RequestContext供Spring的宏库使用.
spring.freemarker.expose-spring-macro-helpers=false
spring.freemarker.prefix=
#spring.freemarker.request-context-attribute=
#spring.freemarker.settings.
spring.freemarker.settings.template_update_delay=0
spring.freemarker.settings.default_encoding=UTF-8
spring.freemarker.suffix=.ftl
spring.freemarker.template-loader-path=classpath:/templates/
#spring.freemarker.view-names= # whitelist of view names that can be resolved
spring.freemarker.settings.number_format=0.##
spring.servlet.multipart.maxFileSize=350MB
spring.servlet.multipart.maxRequestSize=350MB
#text
show.tips.text=
show.tips.url.text=
show.tips.btn.text=
show.tips.url=https://www.baidu.com

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More