| | |
| | | import com.ruoyi.other.api.factory.RemoteVipSettingFallbackFactory; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | @FeignClient(contextId = "RemoteOrderGoodsClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = RemoteVipSettingFallbackFactory.class) |
| | | public interface RemoteVipSettingClient { |
| | | |
| | | @GetMapping("/vip-setting/getVipSettingById") |
| | | R<VipSetting> getVipSettingById(Integer id); |
| | | R<VipSetting> getVipSettingById(@RequestParam(value = "id",required = true) Integer id); |
| | | } |