无关风月
2024-08-24 d0a2f8a17bb7888602f0f421bb01a765ef04fd29
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/CouponFallbackFactory.java
@@ -10,6 +10,8 @@
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * @author zhibing.pu
 * @Date 2024/8/16 13:48
@@ -28,6 +30,11 @@
         public R<TCoupon> getCouponById1(Integer id) {
            return R.fail("根据id获取优惠券信息失败:" + throwable.getMessage());
         }
         @Override
         public R<List<Integer>> getCouponIdsByName(String name) {
            return R.fail("根据名称查询优惠券ids:" + throwable.getMessage());
         }
      };
   }