|
|
@@ -18,10 +18,7 @@ import com.tuoheng.miniprogram.entity.query.InspectionQuery; |
|
|
|
import com.tuoheng.miniprogram.enums.UserTypeEnum; |
|
|
|
import com.tuoheng.miniprogram.service.IInspectionService; |
|
|
|
import com.tuoheng.miniprogram.utils.ShiroUtils; |
|
|
|
import com.tuoheng.miniprogram.vo.AirLineVO; |
|
|
|
import com.tuoheng.miniprogram.vo.AirPortVO; |
|
|
|
import com.tuoheng.miniprogram.vo.InspectionInfoVo; |
|
|
|
import com.tuoheng.miniprogram.vo.PlayBackInfoVo; |
|
|
|
import com.tuoheng.miniprogram.vo.*; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@@ -194,8 +191,8 @@ public class InspectionServiceImpl implements IInspectionService { |
|
|
|
PlayBackInfoVo vo = new PlayBackInfoVo(); |
|
|
|
BeanUtils.copyProperties(inspection,vo); |
|
|
|
//对视频地址进行处理 |
|
|
|
if(StringUtils.isNotEmpty(inspection.getVideoUrl())){ |
|
|
|
vo.setVideoUrl(CommonConfig.videoURL+inspection.getVideoUrl()); |
|
|
|
if(StringUtils.isNotEmpty(inspection.getAiVideoUrl())){ |
|
|
|
vo.setAiVideoUrl(CommonConfig.videoURL+inspection.getVideoUrl()); |
|
|
|
} |
|
|
|
|
|
|
|
return JsonResult.success(vo); |