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