New file |
| | |
| | | package com.ruoyi.account.api.feignClient; |
| | | |
| | | import com.ruoyi.account.api.factory.InviteUserFallbackFactory; |
| | | import com.ruoyi.account.api.model.TInviteUser; |
| | | import com.ruoyi.account.api.vo.GetInviteUser; |
| | | import com.ruoyi.account.api.vo.GovernmentCloudAccountVO; |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2024/9/4 17:54 |
| | | */ |
| | | @FeignClient(contextId = "JianGuanAccountClient", value = ServiceNameConstants.ACCOUNT_SERVICE, fallbackFactory = InviteUserFallbackFactory.class) |
| | | public interface JianGuanAccountClient { |
| | | /** |
| | | * 政务云查询数据接口 |
| | | * @return |
| | | */ |
| | | @PostMapping("/governmentCloudAccount/listAll") |
| | | R<GovernmentCloudAccountVO> listAll(); |
| | | } |