| | |
| | | |
| | | import com.ruoyi.account.api.feignClient.AppUserClient; |
| | | import com.ruoyi.account.api.model.AppUser; |
| | | import com.ruoyi.account.api.model.AppUserShop; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R<Long> getCouponCount(Long userId, Long couponId) { |
| | | public R<Long> getCouponCount(Long userId, Integer couponId) { |
| | | log.error("获取优惠券数量失败:{}", cause.getMessage()); |
| | | throw new RuntimeException("获取优惠券数量失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<AppUserShop>> getAppUserShop(Long userId) { |
| | | log.error("获取用户门店信息失败:{}", cause.getMessage()); |
| | | throw new RuntimeException("获取用户门店信息失败"); |
| | | } |
| | | }; |
| | | } |
| | | } |