Browse Source

小程序任务列表

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
a071c73333
2 changed files with 4 additions and 7 deletions
  1. +3
    -6
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionServiceImpl.java
  2. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/PlayBackInfoVo.java

+ 3
- 6
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionServiceImpl.java View File

@@ -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);

+ 1
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/PlayBackInfoVo.java View File

@@ -43,5 +43,5 @@ public class PlayBackInfoVo {
/**
* 原视频地址
*/
private String videoUrl;
private String aiVideoUrl;
}

Loading…
Cancel
Save