package com.dk.oauth.feign.service; import com.dk.common.infrastructure.constant.Constant; import com.dk.common.model.response.mst.OrgResponse; import com.dk.common.model.vo.mst.OrgVO; import com.dk.common.response.ResponseResultVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * @author : 姜永辉 * @desc : MdmServerFeign * @date : 2024-038-10 10:56 */ @FeignClient(name = Constant.MDM_PREFIX + Constant.SERVER + "-dkic-b1" , path = Constant.MST_ORG, contextId = "org") public interface OrgFeign { /** * @desc : 注册商户时候插入部门--顶级 * @author : 姜永辉 * @date : 2023-11-02 16:27 */ @PostMapping({"//" + Constant.MDM_PREFIX + Constant.SERVER + "-$CLUSTER_ID" + Constant.MST_ORG + "/insert_feign_org"}) ResponseResultVO insertFeignOrg(@RequestBody OrgVO orgVO); }