|
@@ -1,3 +1,15 @@
|
|
-# 应用服务 WEB 访问端口
|
|
|
|
-server.port=8080
|
|
|
|
-
|
|
|
|
|
|
+server:
|
|
|
|
+ port: 8801
|
|
|
|
+spring:
|
|
|
|
+ datasource:
|
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
+ url: jdbc:mysql://8.152.201.247:3306/gooset?characterEncoding=UTF-8&useSSL=false
|
|
|
|
+ username: cat
|
|
|
|
+ password: nekomimi//77
|
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
+mybatis-plus:
|
|
|
|
+ configuration:
|
|
|
|
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
+ mapper-locations: classpath*:mapper/*.xml
|
|
|
|
+ # 设置别名包扫描路径,通过该属性可以给包中的类注册别名
|
|
|
|
+ type-aliases-package: com.zhentao.model.article.pojos
|