mirror of https://gitee.com/maxjhandsome/pig
⬆️ Upgrading dependencies. spring cloud alibaba 2.2.0
This commit is contained in:
parent
1cb2e34f0f
commit
4eb24b581a
|
@ -11,6 +11,8 @@ spring:
|
||||||
config:
|
config:
|
||||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
profiles:
|
profiles:
|
||||||
active: @profiles.active@
|
active: dev
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ spring:
|
||||||
config:
|
config:
|
||||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
profiles:
|
profiles:
|
||||||
active: @profiles.active@
|
active: dev
|
||||||
|
|
|
@ -18,6 +18,7 @@ package ${package}.${moduleName}.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import ${package}.${moduleName}.entity.${className};
|
import ${package}.${moduleName}.entity.${className};
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ${comments}
|
* ${comments}
|
||||||
|
@ -25,6 +26,7 @@ import ${package}.${moduleName}.entity.${className};
|
||||||
* @author ${author}
|
* @author ${author}
|
||||||
* @date ${datetime}
|
* @date ${datetime}
|
||||||
*/
|
*/
|
||||||
|
@Mapper
|
||||||
public interface ${className}Mapper extends BaseMapper<${className}> {
|
public interface ${className}Mapper extends BaseMapper<${className}> {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,9 @@ spring:
|
||||||
config:
|
config:
|
||||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
profiles:
|
profiles:
|
||||||
active: @profiles.active@
|
active: dev
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ spring:
|
||||||
config:
|
config:
|
||||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
profiles:
|
profiles:
|
||||||
active: @profiles.active@
|
active: dev
|
||||||
|
|
|
@ -11,6 +11,7 @@ spring:
|
||||||
config:
|
config:
|
||||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
profiles:
|
profiles:
|
||||||
active: @profiles.active@
|
active: @profiles.active@
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -35,7 +35,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<spring-boot.version>2.2.4.RELEASE</spring-boot.version>
|
<spring-boot.version>2.2.4.RELEASE</spring-boot.version>
|
||||||
<spring-cloud.version>Hoxton.SR1</spring-cloud.version>
|
<spring-cloud.version>Hoxton.SR1</spring-cloud.version>
|
||||||
<spring-cloud-alibaba.version>2.1.1.RELEASE</spring-cloud-alibaba.version>
|
<spring-cloud-alibaba.version>2.2.0.RELEASE</spring-cloud-alibaba.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
|
|
Loading…
Reference in New Issue