修改pom文件

master
bynt 2 years ago
parent 78efd6b010
commit cd80875c83

@ -43,7 +43,7 @@
<dependency> <dependency>
<groupId>com.baiye</groupId> <groupId>com.baiye</groupId>
<artifactId>cdp-wechat-server</artifactId> <artifactId>cdp-wechat-api</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>

@ -3,7 +3,8 @@ spring:
active: dev active: dev
application: application:
name: @artifactId@ name: @artifactId@
main:
allow-bean-definition-overriding: true
server: server:
port: 18000 port: 18000

@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
* @author Enzo * @author Enzo
* @date : 2022/8/31 * @date : 2022/8/31
*/ */
@FeignClient(name = "cdp-wechat-api") // @FeignClient(name = "cdp-wechat-api")
public interface WeChatUserFeignProvider { public interface WeChatUserFeignProvider {
/** /**

@ -16,16 +16,6 @@
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<exclusions>
<exclusion>
<artifactId>jsr305</artifactId>
<groupId>com.google.code.findbugs</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency> <dependency>
<groupId>com.baiye</groupId> <groupId>com.baiye</groupId>
<artifactId>cdp-common-exception</artifactId> <artifactId>cdp-common-exception</artifactId>

@ -3,7 +3,7 @@ spring:
cloud: cloud:
nacos: nacos:
discovery: discovery:
server-addr: ${NACOS_HOST:localhost}:${NACOS_PORT:8848} server-addr: ${NACOS_HOST:8.130.96.163}:${NACOS_PORT:8848}
# Spring Cloud Stream 配置项,对应 BindingServiceProperties 类 # Spring Cloud Stream 配置项,对应 BindingServiceProperties 类
stream: stream:
# Binding 配置项,对应 BindingProperties Map # Binding 配置项,对应 BindingProperties Map

Loading…
Cancel
Save