| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | |
| | | import java.util.List; |
| | |
| | | throw new RuntimeException("获取优惠券数量失败"); |
| | | } |
| | | |
| | | @GetMapping("/appUserShop/shop/{userId}") |
| | | @Override |
| | | public R<List<AppUserShop>> getAppUserShop(Long userId) { |
| | | log.error("获取用户门店信息失败:{}", cause.getMessage()); |
| | |
| | | log.error("获取直推会员数失败:{}", cause.getMessage()); |
| | | throw new RuntimeException("获取直推会员数失败"); |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |
| | | public R<List<AppUser>> getAppUserByName(String name) { |
| | | return R.fail("根据用户名称模糊搜索用户列表失败:" + cause.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<AppUser>> getAppUserByPhone(String phone) { |
| | | return R.fail("根据用户电话模糊搜索用户列表失败:" + cause.getMessage()); |
| | | } |
| | | |
| | | |
| | | }; |
| | | } |
| | | } |