Commit 2ab5db2a authored by chai's avatar chai

mybatis_plus

parent c3625a14
Pipeline #4209 canceled with stages
...@@ -66,6 +66,7 @@ ...@@ -66,6 +66,7 @@
<dependency> <dependency>
<groupId>com.alibaba.cloud</groupId> <groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-nacos-discovery</artifactId> <artifactId>spring-cloud-alibaba-nacos-discovery</artifactId>
<version>2.1.0.RELEASE</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
...@@ -76,6 +77,7 @@ ...@@ -76,6 +77,7 @@
<dependency> <dependency>
<groupId>com.alibaba.cloud</groupId> <groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-nacos-config</artifactId> <artifactId>spring-cloud-alibaba-nacos-config</artifactId>
<version>2.1.0.RELEASE</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
...@@ -86,6 +88,7 @@ ...@@ -86,6 +88,7 @@
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId> <artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.1.2.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
......
...@@ -5,5 +5,33 @@ server: ...@@ -5,5 +5,33 @@ server:
#spring配置 #spring配置
spring: spring:
application: application:
name: fundraising-website name: hro-to-oa
cloud:
nacos:
discovery:
server-addr: @nacos.addr@
namespace: @nacos.namespace@
config:
server-addr: @nacos.addr@
namespace: @nacos.namespace@
group: @nacos.group@
file-extension: yml
ext-config:
- data-id: shareconfig.yml
group: DEFAULT_GROUP
refresh: true
profiles:
active: @profiles.active@
datasource:
driver-class-name: com.mysql.jdbc.Driver
servlet:
multipart:
max-file-size: 40MB
max-request-size: 40MB
############################## mybatis 配置 ######################################
mybatis:
mapper-locations: classpath:daoMapper/*.xml
typeAliasesPackage: com.dianmi.domain.entity
configuration:
map-underscore-to-camel-case: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment