新增了同步app视频,
This commit is contained in:
@@ -405,17 +405,16 @@ public class CaseClinicalVideoController {
|
||||
*/
|
||||
@PostMapping("/app/clinical/video")
|
||||
public Response<T> AddClinicalVideoApp(
|
||||
@Validated()
|
||||
@RequestBody addClinicalVideoApp request
|
||||
HttpServletRequest request
|
||||
) {
|
||||
// try {
|
||||
// boolean res = caseClinicalVideoService.AddClinicalVideoApp(request);
|
||||
// if (!res){
|
||||
// return Response.error("操作失败");
|
||||
// }
|
||||
// } catch (BusinessException e) {
|
||||
// return Response.error(e.getMessage());
|
||||
// }
|
||||
try {
|
||||
boolean res = caseClinicalVideoService.AddClinicalVideoApp(request);
|
||||
if (!res){
|
||||
return Response.error("操作失败");
|
||||
}
|
||||
} catch (BusinessException e) {
|
||||
return Response.error(e.getMessage());
|
||||
}
|
||||
|
||||
return Response.success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user