| | |
| | | import com.xinquan.system.api.model.AppVerifyCellPhoneBody; |
| | | import com.xinquan.system.api.model.AppWXLoginBody; |
| | | import com.xinquan.user.api.domain.dto.AppUserDTO; |
| | | import com.xinquan.user.api.domain.dto.OrderListDTO; |
| | | import com.xinquan.user.api.feign.RemoteAppUserService; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | |
| | | @Override |
| | | public RemoteAppUserService create(Throwable cause) { |
| | | return new RemoteAppUserService() { |
| | | @Override |
| | | public R addBalance(Long id, BigDecimal money) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public R addVipExpireTime(Long id, Integer type) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public R<Map<String, Object>> getUserListCount() { |
| | | return R.fail("后台远程调用 用户新增数量"); |
| | | |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public R<String> getPrizeRecordCount() { |
| | | return R.fail("后台远程调用 领取中的兑换记录"); |
| | | } |
| | | |
| | | @Override |
| | | public R<String> getUserCount() { |
| | | return R.fail("后台远程调用 查询用户数量 会员数量 非会员数量"); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<AppUserWithdraw>> getWithdraw(OrderListDTO courseDTO) { |
| | | return R.fail("后台远程调用 查询提现记录"); |
| | | } |
| | | |
| | | @Override |
| | | public R addBalanceRecord(AppUserWalletRecord appUserWalletRecord) { |
| | | return R.fail("后台远程调用 新增用户余额明细记录"); |
| | | } |
| | | |
| | | @Override |
| | | public R addAppUserCourse(Long courseId, Long appUserId, Long orderId, Integer giftFlag) { |
| | | return R.fail("远程调用 购买课程后 增加课程与用户关系表"); |
| | | } |
| | | |
| | | @Override |
| | | public R addNoticeReplay(NoticeRecord noticeRecord) { |
| | | return R.fail("后台远程调用 新增回复消息失败"); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R<PageDTO<AppUserCourse>> getPayCourse(Integer pageCurr, Integer pageSize) { |
| | | public R<PageDTO<AppUserCourse>> getPayCourse(Integer pageCurr, Integer pageSize,String id) { |
| | | return R.fail("查询用户已购课程失败"); |
| | | |
| | | } |