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.
90 lines
2.1 KiB
90 lines
2.1 KiB
server: |
|
port: 8080 |
|
spring: |
|
application: |
|
name: teaching-backend |
|
servlet: |
|
multipart: |
|
enabled: true |
|
max-file-size: 10MB |
|
max-request-size: 10MB |
|
neo4j: |
|
uri: bolt://10.100.200.177:7687 |
|
authentication: |
|
username: neo4j # 连接Neo4j数据P库的用户名 |
|
password: neo4j123456 # 连接Neo4j数据库的密码 |
|
mvc: |
|
pathmatch: |
|
matching-strategy: ant_path_matcher |
|
datasource: |
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
url: jdbc:mysql://10.100.200.177:3306/teaching_db |
|
username: root |
|
password: root |
|
# url: jdbc:mysql://rm-bp189rd5595301145do.mysql.rds.aliyuncs.com:3306/teaching_db |
|
# username: root123 |
|
# password: Zjh@111111 |
|
mybatis: |
|
configuration: |
|
map-underscore-to-camel-case: true |
|
mapper-locations: |
|
- classpath:mapper/*.xml |
|
- classpath*:com/**/mapper/*.xml |
|
|
|
jwt: |
|
tokenHeader: Authorization |
|
secret: mySecret |
|
expiration: 604800 |
|
tokenHead: Bearer |
|
|
|
knife4j: |
|
enable: true |
|
openapi: |
|
title: 111 |
|
description: "123" |
|
concat: zjh |
|
version: v1.0.0 |
|
group: |
|
default: |
|
group-name: default |
|
api-rule: package |
|
api-rule-resources: |
|
- com.teaching.backend.controller |
|
secure: |
|
ignored: |
|
urls: |
|
# - /swagger-ui/ |
|
# - /swagger-resources/** |
|
# - /**/v2/api-docs |
|
# - /**/*.html |
|
# - /**/*.js |
|
# - /**/*.css |
|
# - /**/*.png |
|
# - /**/*.map |
|
# - /favicon.ico |
|
# - /actuator/** |
|
# - /druid/** |
|
# - /user/** |
|
# - /user/login |
|
# - /user/register |
|
# - /user/info |
|
# - /user/logout |
|
# - /minio/upload |
|
- /** |
|
|
|
|
|
aliyun: |
|
oss: |
|
endpoint: oss-cn-wuhan-lr.aliyuncs.com |
|
accessKeyId: LTAI5tFkdu3y5WddxbjgaG2F |
|
accessKeySecret: 1xUchxUTlmUBoTV5JQIrKsVjSkmsLF |
|
bucketName: ceshi132132 |
|
|
|
minio: |
|
endpoint: http://39.106.16.162:9090 #MinIO服务所在地址 |
|
bucketName: teaching # 存储桶名称 |
|
accessKey: minioadmin # 访问的key |
|
secretKey: minioadmin # 访问的秘钥 |
|
|
|
filename: |
|
maxlength: 10
|
|
|