| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.other.api.domain.*; |
| | | import com.ruoyi.other.api.dto.ExchangeCodeBindDTO; |
| | | import com.ruoyi.other.api.dto.ExchangeCodeConsumeDTO; |
| | | import com.ruoyi.other.api.dto.ExchangeCodeUseRecordQuery; |
| | | import com.ruoyi.other.api.dto.TagListQueryDto; |
| | | import com.ruoyi.other.api.dto.UnitListQueryDto; |
| | | import com.ruoyi.other.api.feignClient.OtherClient; |
| | | import com.ruoyi.other.api.vo.CouponListVOVO; |
| | | import com.ruoyi.other.api.vo.ExchangeCodeBindResultVO; |
| | | import com.ruoyi.other.api.vo.ExchangeCodeConsumeResultVO; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | |
| | | public R reset(String electricity) { |
| | | return R.fail("远程调用获取配置失败:"+throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<ExchangeCodeBindResultVO> bindExchangeCode(ExchangeCodeBindDTO dto, Long userId, String phone) { |
| | | return R.fail("兑换码绑定失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<Map<Long, BigDecimal>> getExchangeCodeBalanceMap(List<Long> userIds) { |
| | | return R.fail("查询兑换码余额失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<ExchangeCodeConsumeResultVO> consumeExchangeCodeBalance(ExchangeCodeConsumeDTO dto) { |
| | | return R.fail("扣减兑换码余额失败:" + throwable.getMessage()); |
| | | } |
| | | @Override |
| | | public R<ExchangeCodeConsumeResultVO> refundExchangeCodeBalance(ExchangeCodeConsumeDTO dto) { |
| | | return R.fail("退还兑换码余额失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<Page<TExchangeCodeUseRecord>> exchangeCodeUseRecordPage(ExchangeCodeUseRecordQuery query) { |
| | | return R.fail("查询兑换码流水失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<TExchangeCodeUseRecord> exchangeCodeUseRecordDetail(Long id, Long userId) { |
| | | return R.fail("查询兑换码流水详情失败:" + throwable.getMessage()); |
| | | } |
| | | }; |
| | | } |
| | | } |