|
@@ -57,7 +57,7 @@ public class ResourceService {
|
|
|
return APIResult.ok(page);
|
|
|
}
|
|
|
|
|
|
- List<Resource> resourceList = resourceRepository.find(resource, page.getStart(), pageSize, new Sort(Sort.Direction.DESC, "gmt_modified"));
|
|
|
+ List<Resource> resourceList = resourceRepository.find(resource, page.getStart(), pageSize, new Sort(Sort.Direction.DESC, "gmtModified"));
|
|
|
resourceList.forEach(r -> {
|
|
|
initResourceUrl(r);
|
|
|
});
|