rx
2024-08-05 d621324bcf6c5a26f058b24e0f4d2930f41840f4
提交 | 用户 | age
f7d0b0 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.warehouse.PhiStockMoveDto;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8
9 /**
10  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
11  */
c92bcd 12 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-warehouse")
f7d0b0 13 public interface SPhipWareHouseService {
F 14
15     /**
16      * 开放平台转发到仓库,生成移库单
17      */
18     @PostMapping(value = "/warehouse/order/create/move/stock")
c92bcd 19     Result moveStockOrder(@RequestBody PhiStockMoveDto phiStockMoveDto);
f7d0b0 20
F 21 }