CompanyFeign.java 821 B

123456789101112131415161718192021222324252627
  1. package com.dk.mdm.feign;
  2. import com.dk.common.infrastructure.constant.Constant;
  3. import com.dk.common.response.ResponseResultVO;
  4. import org.springframework.cloud.openfeign.FeignClient;
  5. import org.springframework.web.bind.annotation.PostMapping;
  6. import org.springframework.web.bind.annotation.RequestBody;
  7. import java.util.Map;
  8. /**
  9. * @author : 姜永辉
  10. * @desc : OauthServerFeign
  11. * @date : 2024-038-10 10:56
  12. */
  13. @FeignClient(name = Constant.OAUTH_PREFIX + Constant.SERVER, path = Constant.COMPANY, contextId = "company")
  14. public interface CompanyFeign {
  15. /**
  16. * @desc : 体验产品
  17. * @author : 姜永辉
  18. * @date : 2023-11-02 16:27
  19. */
  20. @PostMapping({"/feign_update_wx_user_company"})
  21. ResponseResultVO<Boolean> updateWxUserCompany(@RequestBody Map<String, Object> collectQuery) ;
  22. }