Files
peipei-backend/play-admin/src/main/resources/application.yml
2024-03-27 23:01:53 +08:00

32 lines
786 B
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: 7002
servlet:
context-path: /api
spring:
profiles:
active: test
# mybatis日志
mybatis-plus:
global-config:
# 逻辑删除
db-config:
logic-delete-field: deleted # 全局逻辑删除的实体字段名
logic-delete-value: 1
logic-not-delete-value: 0
# xml文件路径classpath* 代表所有模块的resources目录 classpath 不加星号代表当前模块下的resources目录
mapper-locations: classpath*:mapper/**/*.xml
wx:
mp:
app-id: xxx
secret: ddd
config-storage:
key-prefix: peipei
http-client-type: HttpClient
redis:
host: 12
database: ${spring.redis.database}
port: ${spring.redis.port}
password: ${spring.redis.password}
type: RedisTemplate