Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
18a5eae1ae
|
|
@ -225,7 +225,7 @@ public class CourseDetailsServiceImpl extends ServiceImpl<CourseDetailsDao, Cour
|
||||||
Map<String, Object> map = new HashMap<>();
|
Map<String, Object> map = new HashMap<>();
|
||||||
map.put("current", current.get());
|
map.put("current", current.get());
|
||||||
map.put("title", bean.getTitle());
|
map.put("title", bean.getTitle());
|
||||||
map.put("collect", collect == null ? 0L : 1L);
|
map.put("collect", collect == null || collect.equals(0) ? 0L : 1L);
|
||||||
map.put("list", courseDetailsSetVos);
|
map.put("list", courseDetailsSetVos);
|
||||||
return new Result().put("data", map);
|
return new Result().put("data", map);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,6 @@ public class CourseDetailsSetVo {
|
||||||
* 点赞数
|
* 点赞数
|
||||||
*/
|
*/
|
||||||
private Integer goodNum;
|
private Integer goodNum;
|
||||||
/**
|
|
||||||
* 是否已追
|
|
||||||
*/
|
|
||||||
private Long isCollect;
|
|
||||||
/**
|
/**
|
||||||
* 是否点赞
|
* 是否点赞
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue