mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-20 16:26:50 +08:00
修改测试查询参数
This commit is contained in:
@@ -194,10 +194,10 @@ public class ThirdApi {
|
||||
Opt.ofBlankAble(resp).map(t -> JSONUtil.toBean(t, DynamicBean.class).success()).map(DynamicBean::getResult).map(UserDynamicResult::getList).stream().flatMap(Collection::stream).forEach(list::add);
|
||||
}
|
||||
|
||||
public List<StudyCourse>getStudyCourseList(String studyId,String contentId, String token){
|
||||
public List<StudyCourse>getStudyCourseList(String studyId,String courseId, String token){
|
||||
StudyCourseVo studyCourseVo = new StudyCourseVo();
|
||||
studyCourseVo.setStudyId(studyId);
|
||||
studyCourseVo.setContentId(contentId);
|
||||
studyCourseVo.setCourseId(courseId);
|
||||
String resp = Optional.ofNullable(
|
||||
HttpRequest.post(getStudyStatus).body(JSONUtil.toJsonStr(studyCourseVo)).header("token", token).execute()
|
||||
.body()).orElseThrow(() -> new RuntimeException("token校验失败"));
|
||||
|
||||
Reference in New Issue
Block a user