| | |
| | | import com.xinquan.common.core.constant.ServiceNameConstants; |
| | | import com.xinquan.common.core.domain.R; |
| | | import com.xinquan.common.core.utils.page.PageDTO; |
| | | import com.xinquan.system.api.domain.AppUserCourse; |
| | | 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.system.api.domain.AppUser; |
| | | import com.xinquan.system.api.domain.AppUserViewingHistory; |
| | | import com.xinquan.user.api.domain.dto.AppUserDTO; |
| | | import com.xinquan.user.api.factory.RemoteAppUserFallbackFactory; |
| | | import java.util.Collection; |
| | |
| | | @FeignClient(contextId = "remoteAppUserService", value = ServiceNameConstants.APP_USER_SERVICE, fallbackFactory = RemoteAppUserFallbackFactory.class) |
| | | public interface RemoteAppUserService { |
| | | |
| | | /** |
| | | * 后台远程调用 新增回复消息 |
| | | * @return |
| | | */ |
| | | @PostMapping("/client/user/notice-record/addNoticeReplay") |
| | | public R addNoticeReplay(@RequestBody NoticeRecord noticeRecord); |
| | | /** |
| | | * 远程调用根据用户id 查询用户 |
| | | */ |
| | | @PostMapping("/client/app-user/getAppUserById/{id}") |
| | | public R<AppUser> getAppUserById(@PathVariable("id")String id); |
| | | /** |
| | | * 远程调用根据用户名称 查询用户 |
| | | */ |
| | | @PostMapping("/client/app-user/getAppUserByName/{name}") |
| | | public R<List<Long>> getAppUserByName(@PathVariable("name")String name); |
| | | @PostMapping("/getAppUserByNameOrPhone/{name}") |
| | | public R<List<Long>> getAppUserByNameOrPhone(@PathVariable("name")String name); |
| | | @PostMapping("/client/tag/queryTag/{name}") |
| | | public R<List<Tag>> queryTag(@PathVariable("name") String name); |
| | | @PostMapping("/client/app-user/getCurrentUser") |
| | | public R<AppUserVO> getCurrentUser(); |
| | | @GetMapping("/client/app-user-course/getPayCourse/{pageCurr}/{pageSize}") |