package com.yuchen.saas.payment.api.feign;


import com.yuchen.saas.payment.api.vo.invoice.SaasInvoiceTaxCategoryVO;
import org.nest.springwrap.core.launch.app.AppNameConstant;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;



@FeignClient(
        value = AppNameConstant.SAAS_PAYMENT,
        fallbackFactory = ISaasInvoiceTaxCategoryFeignFallback.class
)
public interface ISaasInvoiceTaxCategoryFeign {


    @GetMapping("/invoice/getTaxCategoryById/{id}")
    R<SaasInvoiceTaxCategoryVO> getTaxCategoryById(@PathVariable Long id);


}
