liujie
1 天以前 afb2bc8e77e086ebeb358915e12fad41dac78a6a
ruoyi-api/ruoyi-api-study/src/main/java/com/ruoyi/study/api/feignClient/StudyClient.java
@@ -14,6 +14,7 @@
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)
@@ -23,6 +24,8 @@
    @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);
@@ -230,4 +233,12 @@
    @ApiOperation(value = "用户积分变动", tags = {"用户积分变动"})
    R<Boolean> exchangeIntegral1(@RequestParam("integral") Integer integral, @RequestParam("method") String method);
    @GetMapping("/base/study/lookVideo")
    @ApiOperation(value = "家长重置观看操作视频", tags = {"家长重置观看操作视频"})
    R<Boolean> resetLookVideo();
    @PostMapping("/base/study/setStudyType")
    R<Object> setStudyType(@RequestBody SetStudyTypeDto dto);
}