feat: 新增 WMS 模块 RPC Feign 客户端配置
- 创建 RpcConfiguration,注册 CodeGenApi Feign 客户端 - 添加 nl-module-base-api Maven 依赖
This commit is contained in:
@@ -42,6 +42,11 @@
|
|||||||
<artifactId>nl-module-task-api</artifactId>
|
<artifactId>nl-module-task-api</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>cn.nl.cloud</groupId>
|
||||||
|
<artifactId>nl-module-base-api</artifactId>
|
||||||
|
<version>${revision}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- 业务组件 -->
|
<!-- 业务组件 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
package cn.code.nl.module.wms.framework.rpc.config;
|
||||||
|
|
||||||
|
import cn.code.nl.module.base.api.codegen.CodeGenApi;
|
||||||
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WMS 模块 RPC 配置
|
||||||
|
*
|
||||||
|
* @author zhouz
|
||||||
|
*/
|
||||||
|
@Configuration(value = "wmsRpcConfiguration", proxyBeanMethods = false)
|
||||||
|
@EnableFeignClients(clients = {CodeGenApi.class})
|
||||||
|
public class RpcConfiguration {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user