| | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | @FeignClient(contextId = "RemoteVipSettingClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = RemoteVipSettingFallbackFactory.class) |
| | | public interface RemoteVipSettingClient { |
| | | |
| | | @GetMapping("/vip-setting/getVipSettingById") |
| | | R<VipSetting> getVipSettingById(@RequestParam(value = "id",required = true) Integer id); |
| | | |
| | | @GetMapping("/vip-setting/list") |
| | | R<List<VipSetting>> list(); |
| | | } |