mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-18 17:54:16 +08:00
排序优化
This commit is contained in:
@@ -39,8 +39,8 @@ public class ResourceController {
|
||||
public JsonResponse index(@RequestParam HashMap<String, Object> params) {
|
||||
Integer page = MapUtils.getInteger(params, "page", 1);
|
||||
Integer size = MapUtils.getInteger(params, "size", 10);
|
||||
String sortField = MapUtils.getString(params, "sort_field", "id");
|
||||
String sortAlgo = MapUtils.getString(params, "sort_algo", "desc");
|
||||
String sortField = MapUtils.getString(params, "sort_field");
|
||||
String sortAlgo = MapUtils.getString(params, "sort_algo");
|
||||
String name = MapUtils.getString(params, "name");
|
||||
String categoryIdsStr = MapUtils.getString(params, "category_ids");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user