| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | |
| | | @FeignClient(contextId = "studyClient", value = ServiceNameConstants.STUDY_SERVICE, fallbackFactory = StudyFallbackFactory.class) |
| | |
| | | |
| | | @PostMapping("/base/user/getUserById/{id}") |
| | | R<TUser> getUserById(@PathVariable("id") Integer id); |
| | | @PostMapping("/base/user/listAll") |
| | | R<List<TUser>> listAll(@RequestBody OrderQuery query); |
| | | @PostMapping("/base/user/vipBack/{id}") |
| | | R vipBack(@PathVariable("id") Integer id); |
| | | |
| | |
| | | R<Boolean> resetLookVideo(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @PostMapping("/base/study/setStudyType") |
| | | R<Object> setStudyType(@RequestBody SetStudyTypeDto dto); |
| | | } |