Commit a0b06f2c authored by 喻春霖's avatar 喻春霖

fixed

parent 766ce1f7
......@@ -56,7 +56,7 @@ public class LogStatisticsController {
*/
@RequestMapping("app")
@ResponseBody
public MapMessage applications(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) Integer year, @RequestParam(value = "month", required = false) Integer month) {
public MapMessage applications(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) String year, @RequestParam(value = "month", required = false) String month) {
List<StatItem> result = new ArrayList<>();
List<ClientItem> statClients = new ArrayList<>();
if (clientId != null){
......@@ -96,7 +96,7 @@ public class LogStatisticsController {
*/
@RequestMapping("environment")
@ResponseBody
public MapMessage environments(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) Integer year, @RequestParam(value = "month", required = false) Integer month) {
public MapMessage environments(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) String year, @RequestParam(value = "month", required = false) String month) {
Map<String, List<StatItem>> result = new HashMap<>();
Map<String,Object> param = new HashMap<>();
param.put("getUserInfoSuccessFlag", true);
......@@ -154,7 +154,7 @@ public class LogStatisticsController {
*/
@RequestMapping("auth")
@ResponseBody
public MapMessage auths(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) Integer year, @RequestParam(value = "month", required = false) Integer month) {
public MapMessage auths(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) String year, @RequestParam(value = "month", required = false) String month) {
Map<String, Object> result = new HashMap<>();
Map<String,Object> param = new HashMap<>();
......@@ -202,7 +202,7 @@ public class LogStatisticsController {
*/
@RequestMapping("auth_pick_times")
@ResponseBody
public MapMessage authPickTimes(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) Integer year, @RequestParam(value = "month", required = false) Integer month) {
public MapMessage authPickTimes(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) String year, @RequestParam(value = "month", required = false) String month) {
Map<String,Object> param = new HashMap<>();
......@@ -258,7 +258,7 @@ public class LogStatisticsController {
*/
@RequestMapping("auth_user_type")
@ResponseBody
public MapMessage authUserTypes(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) Integer year, @RequestParam(value = "month", required = false) Integer month) {
public MapMessage authUserTypes(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) String year, @RequestParam(value = "month", required = false) String month) {
Map<String,Object> param = new HashMap<>();
param.put("getUserInfoSuccessFlag", true);
......@@ -299,7 +299,7 @@ public class LogStatisticsController {
*/
@RequestMapping("auth_hot_org")
@ResponseBody
public MapMessage authHotOrgs(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) Integer year, @RequestParam(value = "month", required = false) Integer month) {
public MapMessage authHotOrgs(@RequestParam(value = "clientId", required = false) String clientId, @RequestParam(value = "year", required = false) String year, @RequestParam(value = "month", required = false) String month) {
Map<String,Object> param = new HashMap<>();
param.put("getUserInfoSuccessFlag", true);
if (clientId != null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment