修改vlog视频后台管理

This commit is contained in:
cjh 2025-06-05 09:57:45 +08:00
parent 62ce570195
commit f7a100b025
4 changed files with 64 additions and 33 deletions

View File

@ -49,35 +49,35 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://82.156.121.2:23306/wzj?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: wzj
password: A085F27A43B0
# # 从库数据源
# slave:
# lazy: true
# type: ${spring.datasource.type}
# driverClassName: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
# username:
# password:
# oracle:
# type: ${spring.datasource.type}
# driverClassName: oracle.jdbc.OracleDriver
# url: jdbc:oracle:thin:@//localhost:1521/XE
# username: ROOT
# password: root
# postgres:
# type: ${spring.datasource.type}
# driverClassName: org.postgresql.Driver
# url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
# username: root
# password: root
# sqlserver:
# type: ${spring.datasource.type}
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
# url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true
# username: SA
# password: root
url: jdbc:mysql://127.0.0.1:3306/sys?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: 123
# # 从库数据源
# slave:
# lazy: true
# type: ${spring.datasource.type}
# driverClassName: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
# username:
# password:
# oracle:
# type: ${spring.datasource.type}
# driverClassName: oracle.jdbc.OracleDriver
# url: jdbc:oracle:thin:@//localhost:1521/XE
# username: ROOT
# password: root
# postgres:
# type: ${spring.datasource.type}
# driverClassName: org.postgresql.Driver
# url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
# username: root
# password: root
# sqlserver:
# type: ${spring.datasource.type}
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
# url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true
# username: SA
# password: root
hikari:
# 最大连接池数量
maxPoolSize: 20

View File

@ -265,3 +265,11 @@ justauth:
client-id: 10**********6
client-secret: 1f7d08**********5b7**********29e
redirect-uri: ${justauth.address}/social-callback?source=gitlab
# 腾讯云配置
tencent:
cloud:
secret-id: "AKIDvhEVWHm0xe5JGxOZXGitnRovlKcfRzIN"
secret-key: "qPhiTxA7oENFrCH5dvxiCQN4UdWAYgYA"
region: ap-guangzhou # 默认广州地区
vod:
app-id: 1323742234 # 点播应用ID

View File

@ -116,6 +116,13 @@ security:
- /*/api-docs
- /*/api-docs/**
- /warm-flow-ui/token-name
- /admin/vlog/upload/detail/**
# - /admin/vlog/upload/pull
# - /admin/vlog/upload/pull/batch
# - /admin/vlog/upload/list
# - /admin/vlog/upload/**
# - /admin/vlog/pull/**
# - /admin/vlog/pull
# 多租户配置
tenant:
@ -182,9 +189,15 @@ springdoc:
api-docs:
# 是否开启接口文档
enabled: true
# swagger-ui:
# # 持久化认证数据
# persistAuthorization: true
# 文档路径
path: /v3/api-docs
swagger-ui:
# 文档路径
path: /swagger-ui/index.html
# 持久化认证数据
persistAuthorization: true
# 是否启用
enabled: true
info:
# 标题
title: '标题RuoYi-Vue-Plus多租户管理系统_接口文档'
@ -216,6 +229,8 @@ springdoc:
packages-to-scan: org.dromara.generator
- group: 5.工作流模块
packages-to-scan: org.dromara.workflow
- group: 6.内容模块
packages-to-scan: com.wzj.soopin.content
# 防止XSS攻击
xss:
@ -284,3 +299,11 @@ warm-flow:
- 255,205,23
## 已办理
- 157,255,0
# 腾讯云配置
tencent:
cloud:
secret-id: "AKIDvhEVWHm0xe5JGxOZXGitnRovlKcfRzIN"
secret-key: "qPhiTxA7oENFrCH5dvxiCQN4UdWAYgYA"
region: ap-guangzhou # 默认广州地区
vod:
app-id: 1323742234 # 点播应用ID

View File

@ -4,7 +4,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: root
password: 123
hikari:
connection-timeout: 30000
validation-timeout: 5000