mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
日志查看
This commit is contained in:
@@ -263,11 +263,14 @@ public class CoursePortalApi extends ApiBaseController{
|
|||||||
|
|
||||||
boolean pass = false;
|
boolean pass = false;
|
||||||
if(!preview) {
|
if(!preview) {
|
||||||
|
log.debug("=--------- 开始查询受众信息 ---------------------------------");
|
||||||
String token = request.getHeader("token");
|
String token = request.getHeader("token");
|
||||||
|
log.debug("=--------- 获取token token = " + token);
|
||||||
if (!courseCrowdList.isEmpty()) {
|
if (!courseCrowdList.isEmpty()) {
|
||||||
for (CourseCrowd c : courseCrowdList) {
|
for (CourseCrowd c : courseCrowdList) {
|
||||||
//同一个受众,同一个只会有一条记录,所以这里就直接查询了
|
//同一个受众,同一个只会有一条记录,所以这里就直接查询了
|
||||||
// List<UserGroupItem> hasItem = userGroupService.findByGroupIdAndAid(c.getGroupId(),aid);
|
// List<UserGroupItem> hasItem = userGroupService.findByGroupIdAndAid(c.getGroupId(),aid);
|
||||||
|
log.debug("=--------- 开始调研用户中心受众接口 groupId = " + c.getGroupId());
|
||||||
List<AuditList> allAudienceList = thirdApi.getAllAudienceList(AuditListParam.builder().audienceId(c.getGroupId()).pageSize(1000).pageNo(1).build(), token);
|
List<AuditList> allAudienceList = thirdApi.getAllAudienceList(AuditListParam.builder().audienceId(c.getGroupId()).pageSize(1000).pageNo(1).build(), token);
|
||||||
log.debug("=--------- allAudienceList: " +allAudienceList);
|
log.debug("=--------- allAudienceList: " +allAudienceList);
|
||||||
List<Long> userIdList = allAudienceList.stream().map(AuditList::getUserId).collect(Collectors.toList());
|
List<Long> userIdList = allAudienceList.stream().map(AuditList::getUserId).collect(Collectors.toList());
|
||||||
@@ -286,7 +289,7 @@ public class CoursePortalApi extends ApiBaseController{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.debug("=--------- 是否有权限查看此课程: " +pass);
|
||||||
List<CourseContent> cclist=contentService.getByCourseId(id);
|
List<CourseContent> cclist=contentService.getByCourseId(id);
|
||||||
List<CourseSection> sectionlist=sectionService.getByCourseId(id);
|
List<CourseSection> sectionlist=sectionService.getByCourseId(id);
|
||||||
List<CourseTeacher> teachers=courseService.findTeachersByCourseId(id);
|
List<CourseTeacher> teachers=courseService.findTeachersByCourseId(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user