|
@@ -1,6 +1,24 @@
|
|
|
spring:
|
|
spring:
|
|
|
application:
|
|
application:
|
|
|
name: PetServiceManagementSystem
|
|
name: PetServiceManagementSystem
|
|
|
|
|
+ datasource:
|
|
|
|
|
+ url: jdbc:mysql://localhost:3306/pet_service_managemen_system?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
|
|
|
|
+ username: root
|
|
|
|
|
+ password: root
|
|
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
+
|
|
|
|
|
+mybatis:
|
|
|
|
|
+ mapper-locations: classpath:mapper/*.xml
|
|
|
|
|
+ type-aliases-package: space.anyi.petServiceManagementSystem.server.entity
|
|
|
|
|
+ configuration:
|
|
|
|
|
+ map-underscore-to-camel-case: true
|
|
|
|
|
+
|
|
|
|
|
+springdoc:
|
|
|
|
|
+ api-docs:
|
|
|
|
|
+ path: /v3/api-docs
|
|
|
|
|
+ swagger-ui:
|
|
|
|
|
+ path: /swagger-ui.html
|
|
|
|
|
+
|
|
|
server:
|
|
server:
|
|
|
servlet:
|
|
servlet:
|
|
|
context-path: /api
|
|
context-path: /api
|