|
|
@@ -1,5 +1,6 @@ |
|
|
|
package com.ffii.tsms.modules.user.web; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import org.apache.commons.logging.Log; |
|
|
@@ -77,12 +78,14 @@ public class GroupController{ |
|
|
|
.build())); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/auth/combo") |
|
|
|
public RecordsRes<Map<String, Object>> authComboJson(HttpServletRequest request) throws ServletRequestBindingException { |
|
|
|
@GetMapping("/auth/combo/{id}") |
|
|
|
public RecordsRes<Map<String, Object>> authComboJson(HttpServletRequest request, @PathVariable("id") int id) throws ServletRequestBindingException { |
|
|
|
System.out.println(request); |
|
|
|
return new RecordsRes<>(groupService.listGroupAuth( |
|
|
|
CriteriaArgsBuilder.withRequest(request) |
|
|
|
.build())); |
|
|
|
Map<String, Object> args = new HashMap<>(); |
|
|
|
if (id != 0) |
|
|
|
args.put("groupId", id); |
|
|
|
|
|
|
|
return new RecordsRes<>(groupService.listGroupAuth(args)); |
|
|
|
} |
|
|
|
|
|
|
|
} |