Files
Friendship-and-chat-im/im-platform/src/main/resources/application.yml
T
2025-11-29 13:44:23 +08:00

36 lines
639 B
YAML

server:
port: 8888
spring:
profiles:
active: dev # 环境 dev|test|prod
application:
name: im-platform
mvc:
pathmatch:
matching-strategy: ant_path_matcher
servlet:
multipart:
max-file-size: 50MB
max-request-size: 50MB
mybatis-plus:
global-config:
db-config:
id-type: AUTO # ID自增
configuration:
map-underscore-to-camel-case: true #开启自动驼峰命名规则
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
jwt:
accessToken:
expireIn: 1800 #半个小时
secret: MIIBIjANBgkq
refreshToken:
expireIn: 604800 #7天
secret: IKDiqVmn0VFU