# WEB服务器配置
|
server:
|
compression:
|
enabled: true
|
mime-types: application/json
|
|
port: 10012
|
servlet:
|
session:
|
timeout: PT3H #表示12小时
|
|
spring:
|
# 数据源配置
|
datasource:
|
#正式环境 副本
|
url: jdbc:mysql://rm-uf6rke0j757nt6eppfo.mysql.rds.aliyuncs.com:3306/intelligent_manufacture_hefei?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
|
username: rgkj2
|
password: Rgkj2023
|
#url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/intelligent_manufacture?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
|
#username: test
|
# password: doumee@168
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
knife4j:
|
enable: true
|
basic:
|
enable: true
|
username: admin
|
password: test@168.com
|
|
debug_model: true
|
|
# Swagger配置
|
swagger:
|
host:
|
title: ${project.name}接口文档
|
description: ${project.name}接口文档
|
enabled: true
|
# 禁用swagger时的重定向地址
|
redirect-uri: /
|