48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
|
|
server:
|
||
|
|
port: 8080
|
||
|
|
|
||
|
|
spring:
|
||
|
|
datasource:
|
||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
|
url: jdbc:mysql://localhost:3306/innovation_platform?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||
|
|
username: root
|
||
|
|
password: root123456
|
||
|
|
jackson:
|
||
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
||
|
|
time-zone: GMT+8
|
||
|
|
|
||
|
|
mybatis-plus:
|
||
|
|
mapper-locations: classpath*:/mapper/**/*.xml
|
||
|
|
type-aliases-package: com.innovation.platform.entity
|
||
|
|
global-config:
|
||
|
|
db-config:
|
||
|
|
id-type: auto
|
||
|
|
logic-delete-field: deleted
|
||
|
|
logic-delete-value: 1
|
||
|
|
logic-not-delete-value: 0
|
||
|
|
configuration:
|
||
|
|
map-underscore-to-camel-case: true
|
||
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
|
|
|
||
|
|
sa-token:
|
||
|
|
token-name: Authorization
|
||
|
|
timeout: 86400
|
||
|
|
active-timeout: -1
|
||
|
|
is-concurrent: true
|
||
|
|
is-share: true
|
||
|
|
token-style: uuid
|
||
|
|
is-log: true
|
||
|
|
|
||
|
|
knife4j:
|
||
|
|
enable: true
|
||
|
|
openapi:
|
||
|
|
title: 高校创新创业项目孵化平台API
|
||
|
|
description: 高校创新创业项目孵化平台接口文档
|
||
|
|
version: v1.0.0
|
||
|
|
group:
|
||
|
|
default:
|
||
|
|
group-name: default
|
||
|
|
api-rule: package
|
||
|
|
api-rule-resources:
|
||
|
|
- com.innovation.platform.controller
|