package com.yeejoin.amos.boot.module.tzs.biz.fegin;


import com.yeejoin.amos.boot.biz.common.feign.FeignConfiguration;
import com.yeejoin.amos.component.feign.model.FeignClientResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "${privilege.fegin.name}", configuration = {FeignConfiguration.class})
public interface PrivilegeFeign {
    //获取单位树
    @RequestMapping(value = "/privilege/v1/company/tree", method = RequestMethod.GET)
    FeignClientResult tree();
}
