OrgFeign.java 973 B

12345678910111213141516171819202122232425
  1. package com.dk.oauth.feign.service;
  2. import com.dk.common.infrastructure.constant.Constant;
  3. import com.dk.common.model.response.mst.OrgResponse;
  4. import com.dk.common.model.vo.mst.OrgVO;
  5. import com.dk.common.response.ResponseResultVO;
  6. import org.springframework.cloud.openfeign.FeignClient;
  7. import org.springframework.web.bind.annotation.PostMapping;
  8. import org.springframework.web.bind.annotation.RequestBody;
  9. /**
  10. * @author : 姜永辉
  11. * @desc : MdmServerFeign
  12. * @date : 2024-038-10 10:56
  13. */
  14. @FeignClient(name = Constant.MDM_PREFIX + Constant.SERVER + "-dkic-b1" , path = Constant.MST_ORG, contextId = "org")
  15. public interface OrgFeign {
  16. /**
  17. * @desc : 注册商户时候插入部门--顶级
  18. * @author : 姜永辉
  19. * @date : 2023-11-02 16:27
  20. */
  21. @PostMapping({"//" + Constant.MDM_PREFIX + Constant.SERVER + "-$CLUSTER_ID" + Constant.MST_ORG + "/insert_feign_org"})
  22. ResponseResultVO<OrgResponse> insertFeignOrg(@RequestBody OrgVO orgVO);
  23. }