44323
2024-05-16 80870e154d7755c36cdb345147532c131858e270
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.ruoyi.management.api.feignClient;
 
 
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.management.api.factory.TCompanyRepairShopFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
 
import java.util.List;
 
/**
 * 门店服务
 */
@FeignClient(contextId = "tCompanyRepairShopClient", value = ServiceNameConstants.MANAGEMENT_SERVICE, fallbackFactory = TCompanyRepairShopFallbackFactory.class)
public interface TCompanyRepairShopClient {
    /**
     * 通过公司id查询修理厂id集合
     * @param id
     * @return
     */
    @PostMapping("/repairShop/companyQueryRepairShopList/{id}")
    R<List<Integer>> companyQueryRepairShopList(@PathVariable("id") Long id);
}