java-mall/mall-admin/target/classes/application.yml
2024-10-26 10:01:40 +08:00

53 lines
1.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8080
spring:
servlet:
multipart:
enabled: true #开启文件上传
max-file-size: 500MB # 单个文件限制上传大小为500MB
max-request-size: 500MB # 一次请求中所有上传文件总大小限制为500MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*.xml
global-config:
field-strategy: 1
db-config:
id-type: auto
configuration:
auto-mapping-behavior: partial
map-underscore-to-camel-case: false
management: #开启SpringBoot Admin的监控
endpoints:
web:
exposure:
include: "*" # 暴露xxx端点如需暴露多个用,分隔;如需暴露所有端点,用'*'
enabled-by-default: false
endpoint:
health:
show-details: ALWAYS # 是否展示健康检查详情
info: # info信息会显示到SpringBootAdmin的server端这里取的是pom文件中的数据
version: 1.0-SNAPSHOT
groupId: com.suisung.mall
artifactId: mall-admin
aliyun:
oss:
policy:
expire: 300 # 签名有效期(S)
maxSize: 10 # 上传文件大小(M)
callback: http://464d-221-239-130-64.ngrok.io:8201/aliyun/oss/callback # 文件上传成功后的回调地址
dir:
# prefix: shop/data/upload # 上传文件夹路径前缀
prefix: mall/images # 上传文件夹路径前缀
feign:
okhttp:
enabled: true
ribbon:
ConnectTimeout: 60000 #服务请求连接超时时间(毫秒)
ReadTimeout: 60000 #服务请求处理超时时间(毫秒)
licence:
key: "ZsRBoVAzy0hzwxZYsV3Z7IOJW2cu0XdqKUY67LoBYlO57HWVJNYmEIuhpEBEoA3N3hyuax6aOudeaGGvLFNWswsPnzdEQBySjAYr/lHFFoTZml6mAJBZWKVkOICPuD8MctOaExdwdLTtQgjjQlWPaXOfC75KiMQPfQsN/RJpIbiMNenh0bBfubfW5jqcemG0amSLrQevrg98DlOZGY0cBppZIxx1w7eFl5BnzW+hZ5MIy+TonKX8E5Jt138q0koUhOU8OVHi182TdBq9Vc8NW2EYnegBugkpHk+LH+JH+CqxOhzUNNoW9PfDvBpduGA5laf9i0/uAo6c0aS98UyXjQ=="
redis:
id: "1001"
separator: ":"
expire: 3600