修改接口,务必返回视频地址
This commit is contained in:
parent
bcf8e8e88d
commit
fd85b7ad77
@ -67,7 +67,6 @@ public class AppGoodsController {
|
|||||||
|
|
||||||
@GetMapping("/sourceGoods/{sourceId}")
|
@GetMapping("/sourceGoods/{sourceId}")
|
||||||
public ApiResponse<GoodsDetailVO> sourceGoodsInfo(@PathVariable("sourceId") Long sourceId) {
|
public ApiResponse<GoodsDetailVO> sourceGoodsInfo(@PathVariable("sourceId") Long sourceId) {
|
||||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
|
||||||
return goodsService.sourceGoodsInfo(sourceId);
|
return goodsService.sourceGoodsInfo(sourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
where so.id = #{id} and ms.member_id = #{userId}
|
where so.id = #{id} and ms.member_id = #{userId}
|
||||||
</select>
|
</select>
|
||||||
<select id="getById" resultType="com.ycwl.basic.model.pc.source.resp.SourceRespVO">
|
<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
|
from source so
|
||||||
left join scenic sc on sc.id = so.scenic_id
|
left join scenic sc on sc.id = so.scenic_id
|
||||||
where so.id = #{id}
|
where so.id = #{id}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user