| | |
| | | package com.ruoyi.goods.api.factory; |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.goods.api.domain.LotteryEvent; |
| | | import com.ruoyi.goods.api.domain.TLotteryEvent; |
| | | import com.ruoyi.goods.api.service.LotteryEventClient; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | | |
| | |
| | | return new LotteryEventClient() { |
| | | |
| | | @Override |
| | | public R<List<LotteryEvent>> getLotteryEventList(Integer activityType) { |
| | | public R<List<TLotteryEvent>> getLotteryEventList(Integer activityType) { |
| | | return R.fail("根据开启方式获取活动列表失败:" + cause.getMessage()); |
| | | } |
| | | }; |