package com.yeejoin.amos.boot.module.tdc.api.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.typroject.tyboot.core.restful.utils.ResponseModel;

import java.util.List;

@FeignClient(value = "AMOS-API-PRIVILEGE", path = "privilege")

public interface PrivilegeFeignService {

    @RequestMapping(value = "/v1/company/tree", method = RequestMethod.GET)
    ResponseModel<List> getCompanyName();

}
