| | |
| | | } |
| | | |
| | | @ResponseBody |
| | | @RequestMapping("delete") |
| | | public String delete(String ids, String callback) { |
| | | @RequestMapping("forbidden") |
| | | public String forbidden(String ids, AcceptAdminData acceptAdminData) { |
| | | Type type = new TypeToken<List<Long>>() { |
| | | }.getType(); |
| | | List<Long> idList = new Gson().fromJson(ids, type); |
| | | userInfoService.delete(idList); |
| | | return loadPrint(callback, JsonUtil.loadTrueResult("")); |
| | | userInfoService.forbiddenUser(idList, acceptAdminData.getAdminUser().getAccount()); |
| | | return JsonUtil.loadTrueResult(""); |
| | | } |
| | | |
| | | @ResponseBody |