fhx
2024-08-23 1e65523fba19e99dbdf71d0a731a7747a2c9d4e0
phis-feign/src/main/java/com/hz/his/feign/service/phis/SConsumablesService.java
@@ -11,7 +11,7 @@
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "consumables")
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "consumables")
public interface SConsumablesService {
    /**
@@ -35,4 +35,15 @@
     */
    @PostMapping(value = "/consumables/update/list")
    Result getUpdateConsumables(@RequestBody ConsumablesDto consumablesDto);
    /**
     * 获取优惠券商品列表
     * @return Result
     */
    @PostMapping(value = "/consumables/coupon/list")
    Result getConsumablesCouponList(@RequestBody PageDto pageDto);
    /** 检查优惠券商品是否可购买 */
    @PostMapping(value = "/check/consumables/coupon/isBuy")
    Result checkConsumablesCouponIsBuy(@RequestBody ConsumablesDto dto);
}