feat: add PlayroomWebSocketHandler
All checks were successful
dev middleware install / deploy (push) Successful in 52s

This commit is contained in:
2026-04-04 17:41:28 +08:00
parent 9f22f33a9a
commit c58ad923c5
14 changed files with 208 additions and 6 deletions

View File

@@ -0,0 +1,96 @@
server:
port: 8080
jwt:
secret:
issuer:
subject:
expire: 604800
aes:
# aes16/32/48位key
key:
resources:
public: C://resources/public
user:
avatar: C://resources/user/avatar
group:
avatar: C://resources/group/avatar
playroom:
avatar: C://resources/group/avatar
spring:
application:
name: myplayer-backend
servlet:
multipart:
max-file-size: 50MB
max-request-size: 10MB
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/myplayer
username:
password:
mail:
protocol: smtps
port: 465
default-encoding: utf-8
host: smtp.163.com
username:
password:
properties:
mail:
smtp:
auth: true
ssl:
enable: false
required: false
protocols: TLSv1.2
connectiontimeout: 10000
timeout: 15000
writetimeout: 10000
debug: true
data:
redis:
host: localhost
port: 6379
password: dctf8nUrn3
# database: 0
timeout: 2000
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
rabbitmq:
host: localhost
port: 5672
username: user
password: Aqe5U57kvj50k7rG
virtual-host: /
mybatis-plus:
global-config:
db-config:
table-prefix: "" # 可选:表前缀(没有可以留空)
id-type: auto # 主键策略
configuration:
map-underscore-to-camel-case: false # 禁用驼峰命名自动映射
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 控制台打印 SQL调试用
logging:
level:
org:
springframework:
security: DEBUG
springdoc:
api-docs:
enabled: true
path: /v3/api-docs
swagger-ui:
enabled: true
path: /v3/api-docs/swagger-ui.html