2025-10-21 16:50:33 +08:00
|
|
|
|
spring.application.name=demo
|
|
|
|
|
|
spring.messages.basename=messages
|
|
|
|
|
|
spring.thymeleaf.cache=false
|
|
|
|
|
|
spring.profiles.active=dev
|
2025-10-23 10:40:57 +08:00
|
|
|
|
|
|
|
|
|
|
# 服务器配置
|
2025-11-13 17:01:39 +08:00
|
|
|
|
server.address=0.0.0.0
|
2025-10-23 10:40:57 +08:00
|
|
|
|
server.port=8080
|
2025-10-27 10:46:49 +08:00
|
|
|
|
|
2025-11-07 19:09:50 +08:00
|
|
|
|
# 文件上传配置(扩大请求体大小以支持大图片Base64编码)
|
|
|
|
|
|
spring.servlet.multipart.max-file-size=500MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size=600MB
|
2025-10-27 10:46:49 +08:00
|
|
|
|
spring.servlet.multipart.enabled=true
|
2025-11-07 19:09:50 +08:00
|
|
|
|
# Tomcat 最大POST大小
|
|
|
|
|
|
server.tomcat.max-http-post-size=600MB
|
2025-10-27 10:46:49 +08:00
|
|
|
|
|
|
|
|
|
|
# 应用配置
|
|
|
|
|
|
app.upload.path=uploads
|
|
|
|
|
|
app.video.output.path=outputs
|
|
|
|
|
|
|
|
|
|
|
|
# JWT配置
|
|
|
|
|
|
jwt.secret=aigc-demo-secret-key-for-jwt-token-generation-2025
|
|
|
|
|
|
jwt.expiration=86400000
|
|
|
|
|
|
|
|
|
|
|
|
# AI API配置
|
|
|
|
|
|
ai.api.base-url=http://116.62.4.26:8081
|
|
|
|
|
|
ai.api.key=ak_5f13ec469e6047d5b8155c3cc91350e2
|
2025-11-13 17:01:39 +08:00
|
|
|
|
|
|
|
|
|
|
# SpringDoc OpenAPI (Swagger) 配置
|
|
|
|
|
|
springdoc.api-docs.path=/v3/api-docs
|
|
|
|
|
|
springdoc.swagger-ui.path=/swagger-ui.html
|
|
|
|
|
|
springdoc.swagger-ui.operationsSorter=method
|
|
|
|
|
|
springdoc.swagger-ui.tagsSorter=alpha
|
|
|
|
|
|
springdoc.swagger-ui.tryItOutEnabled=true
|
|
|
|
|
|
springdoc.swagger-ui.filter=true
|
|
|
|
|
|
springdoc.swagger-ui.display-request-duration=true
|
|
|
|
|
|
springdoc.swagger-ui.doc-expansion=none
|
|
|
|
|
|
springdoc.swagger-ui.default-models-expand-depth=1
|
|
|
|
|
|
springdoc.swagger-ui.default-model-expand-depth=1
|