| | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestHeader; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * @author mitao |
| | |
| | | @FeignClient(contextId = "remoteAppUserService", value = ServiceNameConstants.APP_USER_SERVICE, fallbackFactory = RemoteAppUserFallbackFactory.class) |
| | | public interface RemoteAppUserService { |
| | | |
| | | @GetMapping("/client/app-user-course/getUserByCourseId/{courseId}") |
| | | R<List<String>> getUserByCourseId(@PathVariable("courseId") Long courseId); |
| | | |
| | | /** |
| | | * 获取未注销的用户信息 |
| | | * |