You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
|
|
server:
|
|
port: 8080
|
|
|
|
spring:
|
|
profiles:
|
|
active: dev
|
|
main:
|
|
allow-circular-references: true
|
|
datasource:
|
|
druid:
|
|
driver-class-name: ${sky.datasource.driver-class-name}
|
|
url: jdbc:mysql://${sky.datasource.host}:${sky.datasource.port}/${sky.datasource.database}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
|
|
username: ${sky.datasource.username}
|
|
password: ${sky.datasource.password}
|
|
redis:
|
|
host: ${sky.redis.host}
|
|
port: ${sky.redis.port}
|
|
database: ${sky.redis.database}
|
|
mybatis:
|
|
#mapper????
|
|
mapper-locations: classpath:mapper/*.xml
|
|
type-aliases-package: com.sky.entity
|
|
configuration:
|
|
#??????
|
|
map-underscore-to-camel-case: true
|
|
|
|
logging:
|
|
level:
|
|
com:
|
|
sky:
|
|
mapper: debug
|
|
service: info
|
|
controller: info
|
|
sky:
|
|
jwt:
|
|
# ??jwt??????????
|
|
admin-secret-key: itcast
|
|
# jwt有效时间
|
|
admin-ttl: 7200000
|
|
# 令牌名字,令牌存放在请求头中,通过令牌名字获取请求头中的鹰牌
|
|
admin-token-name: token
|
|
# 服务器私钥
|
|
user-secret-key: itheima
|
|
# 生效时间
|
|
user-ttl: 7200000
|
|
user-token-name: authentication
|
|
alioss:
|
|
endpoint: ${sky.alioss.endpoint}
|
|
access-key-id: ${sky.alioss.access-key-id}
|
|
access-key-secret: ${sky.alioss.access-key-secret}
|
|
bucket-name: ${sky.alioss.bucket-name}
|
|
upload-path: ${sky.alioss.upload-path}
|
|
wechat:
|
|
appid: ${sky.wechat.appid}
|
|
secret: ${sky.wechat.secret}
|
|
shop:
|
|
address: ??????????10?
|
|
baidu:
|
|
ak: your-ak
|
|
excel:
|
|
filePath: ${sky.excel.filePath}
|
|
sheet: ${sky.excel.sheet}
|