修改接口,务必返回视频地址

This commit is contained in:
Jerry Yan 2025-03-19 17:55:35 +08:00
parent bcf8e8e88d
commit fd85b7ad77
2 changed files with 1 additions and 2 deletions

View File

@ -67,7 +67,6 @@ public class AppGoodsController {
@GetMapping("/sourceGoods/{sourceId}")
public ApiResponse<GoodsDetailVO> sourceGoodsInfo(@PathVariable("sourceId") Long sourceId) {
JwtInfo worker = JwtTokenUtil.getWorker();
return goodsService.sourceGoodsInfo(sourceId);
}

View File

@ -86,7 +86,7 @@
where so.id = #{id} and ms.member_id = #{userId}
</select>
<select id="getById" resultType="com.ycwl.basic.model.pc.source.resp.SourceRespVO">
select so.id, scenic_id, device_id, url, so.create_time, so.update_time,sc.`name` as scenicName
select so.id, scenic_id, device_id, url, video_url, so.create_time, so.update_time,sc.`name` as scenicName
from source so
left join scenic sc on sc.id = so.scenic_id
where so.id = #{id}