From 6d0b7fdb91450b9939a0ead1b421910e0c8fee70 Mon Sep 17 00:00:00 2001
From: “mitao” <“2763622819@qq.com”>
Date: 星期日, 26 四月 2026 18:23:12 +0800
Subject: [PATCH] feat:管理后台用户管理、合作商管理、兑换码管理
---
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java
index 6b62218..686b0b8 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java
@@ -3,10 +3,14 @@
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.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;
@@ -141,6 +145,21 @@
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());
+ }
};
}
}
--
Gitblit v1.7.1