Authored by Lixiaodi

增加log

... ... @@ -83,7 +83,8 @@ public class ResourceController {
} catch (ParseException e) {
return new ApiResponse.ApiResponseBuilder().code(400).message("日期格式有误").data("").build();
} catch (Exception e) {
return new ApiResponse(400, e.getMessage(), "");
LOGGER.error("enter editOrUpdateResourcesTime,err is ", e);
return new ApiResponse(400, e.getMessage(), e.getMessage());
}
return new ApiResponse.ApiResponseBuilder().code(200).data(result).build();
}
... ...