| | |
| | | package com.xinquan.user.api.factory; |
| | | |
| | | import com.xinquan.common.core.domain.R; |
| | | import com.xinquan.common.core.utils.page.PageDTO; |
| | | import com.xinquan.system.api.domain.*; |
| | | import com.xinquan.system.api.domain.vo.AppUserVO; |
| | | import com.xinquan.system.api.model.AppCaptchaBody; |
| | | import com.xinquan.system.api.model.AppLoginUser; |
| | | import com.xinquan.system.api.model.AppVerifyCellPhoneBody; |
| | | import com.xinquan.system.api.model.AppWXLoginBody; |
| | | import com.xinquan.user.api.domain.AppUser; |
| | | import com.xinquan.user.api.domain.dto.AppUserDTO; |
| | | import com.xinquan.user.api.feign.RemoteAppUserService; |
| | | import java.util.Collection; |
| | |
| | | public RemoteAppUserService create(Throwable cause) { |
| | | return new RemoteAppUserService() { |
| | | @Override |
| | | public R addNoticeReplay(NoticeRecord noticeRecord) { |
| | | return R.fail("后台远程调用 新增回复消息失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<AppUser> getAppUserById(String id) { |
| | | return R.fail("远程调用 根据用户id查询用户信息失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<Long>> getAppUserByName(String name) { |
| | | return R.fail("远程调用根据用户名称 查询用户失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<Long>> getAppUserByNameOrPhone(String name) { |
| | | return R.fail("远程调用根据用户名称或者电话 查询用户失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<Tag>> queryTag(String name) { |
| | | return R.fail("远程调用 模糊查询标签列表失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<AppUserVO> getCurrentUser() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public R<PageDTO<AppUserCourse>> getPayCourse(Integer pageCurr, Integer pageSize) { |
| | | return R.fail("查询用户已购课程失败"); |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public R<AppUserViewingHistory> getCourseStudyHistory(Long chapterId) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public R<List<AppUser>> getUserByCourseId(Long courseId) { |
| | | return R.fail("查询课程加入学习人数"); |
| | | } |
| | | |
| | | @Override |
| | | public R<AppUser> getUserByCondition(AppUserDTO dto, String source) { |
| | | return R.fail("获取用户信息失败。"); |
| | | } |