|
@@ -725,11 +725,13 @@ func GetReportList(user user.UserInfo, keyWord string, classifyIdFirst, classify
|
|
|
}
|
|
|
}
|
|
|
}else if authOk,ok := checkPermissionMap[reportInfo.ClassifyNameSecond]; ok && authOk {
|
|
|
- videoTemp := new(response.VideoListItem)
|
|
|
- videoTemp.VideoUrl = reportInfo.VideoUrl
|
|
|
- videoTemp.VideoName = reportInfo.VideoName
|
|
|
- videoTemp.VideoPlaySeconds = reportInfo.VideoPlaySeconds
|
|
|
- reportItem.VideoList = append(reportItem.VideoList, videoTemp)
|
|
|
+ if reportInfo.VideoUrl != "" {
|
|
|
+ videoTemp := new(response.VideoListItem)
|
|
|
+ videoTemp.VideoUrl = reportInfo.VideoUrl
|
|
|
+ videoTemp.VideoName = reportInfo.VideoName
|
|
|
+ videoTemp.VideoPlaySeconds = reportInfo.VideoPlaySeconds
|
|
|
+ reportItem.VideoList = append(reportItem.VideoList, videoTemp)
|
|
|
+ }
|
|
|
reportItem.AuthOk = authOk
|
|
|
}
|
|
|
|