...
|
...
|
@@ -153,7 +153,8 @@ public class UfoLiveController { |
|
|
public ApiResponse queryVideoInfo(QNliveReq req) {
|
|
|
LOGGER.info("queryVideoInfo method in. req is {}", req);
|
|
|
|
|
|
if (null == req.getStartTime() || null == req.getEndTime() || req.getEndTime() - req.getStartTime() > 86400) {
|
|
|
if (null == req.getStartTime() || null == req.getEndTime()
|
|
|
|| req.getEndTime() - req.getStartTime() > 86400 || req.getEndTime() - req.getStartTime() <= 0) {
|
|
|
return new ApiResponse.ApiResponseBuilder().code(500).message("时间格式不对").build();
|
|
|
}
|
|
|
|
...
|
...
|
|