|
|
@@ -403,7 +403,7 @@ public class UserspaceManagerController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/count", method = RequestMethod.GET)
|
|
|
public ModelMap getEnterpriseCount() {
|
|
|
- return success(new ModelMap("count", userspaceService.getCount()));
|
|
|
+ return new ModelMap("count", userspaceService.getCount());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -417,7 +417,7 @@ public class UserspaceManagerController extends BaseController {
|
|
|
start.set(start.get(Calendar.YEAR), start.get(Calendar.MONTH), 1, 0, 0, 0);
|
|
|
Calendar end = Calendar.getInstance();
|
|
|
end.set(start.get(Calendar.YEAR), start.get(Calendar.MONTH) + 1, 1, 0, 0, 0);
|
|
|
- return success(new ModelMap("count", userspaceService.getCountByRegisterDate(start, end)));
|
|
|
+ return new ModelMap("count", userspaceService.getCountByRegisterDate(start, end));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -431,7 +431,7 @@ public class UserspaceManagerController extends BaseController {
|
|
|
start.set(start.get(Calendar.YEAR), start.get(Calendar.MONTH) - 1, 1, 0, 0, 0);
|
|
|
Calendar end = Calendar.getInstance();
|
|
|
end.set(start.get(Calendar.YEAR), start.get(Calendar.MONTH) + 1, 1, 0, 0, 0);
|
|
|
- return success(new ModelMap("count", userspaceService.getCountByRegisterDate(start, end)));
|
|
|
+ return new ModelMap("count", userspaceService.getCountByRegisterDate(start, end));
|
|
|
}
|
|
|
|
|
|
}
|