...
|
...
|
@@ -127,4 +127,18 @@ public class UfoLiveController { |
|
|
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("作废成功").build();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 薛超使用的另一套视频文件方案
|
|
|
* @param req
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/updateVideoUrl")
|
|
|
public ApiResponse updateVideoUrl(QNliveReq req) {
|
|
|
LOGGER.info("updateVideoUrl method in. req is {}", req);
|
|
|
|
|
|
int result = ufoLiveService.updateVideoUrl(req.getId(), req.getVedioFileUrl());
|
|
|
|
|
|
return new ApiResponse.ApiResponseBuilder().code(result > 0 ? 200 : 400).message(result > 0 ? "更新成功" : "更新失败").build();
|
|
|
}
|
|
|
} |
...
|
...
|
|