package fcb.project.manager.core.feignInterfaces;

import fcb.project.manager.core.feignInterfaces.fallBack.UserFeignFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 2 * @Author: Abner
 * 3 * @Date: 2021/1/22 17:08
 * 4
 */
@FeignClient(name = "4dkankan-user" , fallback = UserFeignFallBack.class)
public interface UserFeign {

    @PostMapping("/api/manage/department/findChildrenById")
    public Object getAllChildDeptList(@RequestBody Map<String ,Object> body);
}
