package com.ruoyi.account.api.feignClient; import com.ruoyi.account.api.factory.AppUserVipDetailFallbackFactory; import com.ruoyi.account.api.model.TAppUserVipDetail; import com.ruoyi.account.api.vo.GetAppUserVipDetail; 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/8/21 10:27 */ @FeignClient(contextId = "AppUserVipDetailClient", value = ServiceNameConstants.ACCOUNT_SERVICE, fallbackFactory = AppUserVipDetailFallbackFactory.class) public interface AppUserVipDetailClient { /** * 获取用户当前有效的VIP明细 * @param getAppUserVipDetail * @return */ @PostMapping("/appUserVipDetail/getAppUserVipDetail") R getAppUserVipDetail(GetAppUserVipDetail getAppUserVipDetail); /** * 修改会员明细 * @param appUserVipDetail */ @PostMapping("/appUserVipDetail/updateAppUserVipDetail") void updateAppUserVipDetail(@RequestBody TAppUserVipDetail appUserVipDetail); }