| | |
| | | import com.ruoyi.account.api.vo.CouponListVOVO; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.other.api.domain.TCompany; |
| | | import com.ruoyi.other.api.domain.TCoupon; |
| | | import com.ruoyi.other.api.domain.TUserTag; |
| | | import com.ruoyi.other.api.feignClient.OtherClient; |
| | | import org.slf4j.Logger; |
| | |
| | | |
| | | @Override |
| | | public OtherClient create(Throwable throwable) { |
| | | log.error("商品调用失败:{}", throwable.getMessage()); |
| | | log.error("单位用失败:{}", throwable.getMessage()); |
| | | return new OtherClient() { |
| | | |
| | | @Override |
| | |
| | | public R<List<CouponListVOVO>> getCouponInfoByCouponIds(List<CouponListVOVO> list) { |
| | | return R.fail("我的优惠券列表获取信息:"+throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<TCoupon> getCouponById(Integer id) { |
| | | return R.fail("查询优惠卷:"+throwable.getMessage()); |
| | | } |
| | | }; |
| | | } |
| | | } |