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
|
|
|
|
|
2025-12-05 09:57:09 +08:00
|
|
|
|
# JPA配置 - 禁用open-in-view避免视图层执行SQL查询
|
|
|
|
|
|
spring.jpa.open-in-view=false
|
|
|
|
|
|
|
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
|
2025-11-21 16:10:00 +08:00
|
|
|
|
|
|
|
|
|
|
# 腾讯云COS对象存储配置
|
|
|
|
|
|
# 是否启用COS(设置为true后需要配置下面的参数)
|
|
|
|
|
|
tencent.cos.enabled=false
|
|
|
|
|
|
# 腾讯云SecretId(从控制台获取:https://console.cloud.tencent.com/cam/capi)
|
|
|
|
|
|
tencent.cos.secret-id=
|
|
|
|
|
|
# 腾讯云SecretKey
|
|
|
|
|
|
tencent.cos.secret-key=
|
|
|
|
|
|
# COS区域(例如:ap-guangzhou、ap-shanghai、ap-beijing等)
|
|
|
|
|
|
tencent.cos.region=ap-guangzhou
|
|
|
|
|
|
# COS存储桶名称(例如:my-bucket-1234567890)
|
|
|
|
|
|
tencent.cos.bucket-name=
|
|
|
|
|
|
|
2025-12-05 09:57:09 +08:00
|
|
|
|
# ============================================
|
|
|
|
|
|
# PayPal支付配置
|
|
|
|
|
|
# ============================================
|
|
|
|
|
|
# 注意:请将实际的PayPal凭证配置到 application-dev.properties 中
|
|
|
|
|
|
# 该文件已在.gitignore中,不会被提交到版本控制
|
|
|
|
|
|
# PayPal Client ID(请在application-dev.properties中配置)
|
|
|
|
|
|
paypal.client-id=
|
|
|
|
|
|
# PayPal Client Secret(请在application-dev.properties中配置)
|
|
|
|
|
|
paypal.client-secret=
|
|
|
|
|
|
# PayPal模式:sandbox(测试环境) 或 live(生产环境)
|
|
|
|
|
|
paypal.mode=sandbox
|
|
|
|
|
|
# 支付成功回调URL
|
|
|
|
|
|
paypal.success-url=https://vionow.com/api/payment/paypal/success
|
|
|
|
|
|
# 支付取消回调URL
|
|
|
|
|
|
paypal.cancel-url=https://vionow.com/api/payment/paypal/cancel
|
|
|
|
|
|
|