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

fixed

parent 766ce1f7
...@@ -56,7 +56,7 @@ public class LogStatisticsController { ...@@ -56,7 +56,7 @@ public class LogStatisticsController {
*/ */
@RequestMapping("app") @RequestMapping("app")
@ResponseBody @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<StatItem> result = new ArrayList<>();
List<ClientItem> statClients = new ArrayList<>(); List<ClientItem> statClients = new ArrayList<>();
if (clientId != null){ if (clientId != null){
...@@ -96,7 +96,7 @@ public class LogStatisticsController { ...@@ -96,7 +96,7 @@ public class LogStatisticsController {
*/ */
@RequestMapping("environment") @RequestMapping("environment")
@ResponseBody @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, List<StatItem>> result = new HashMap<>();
Map<String,Object> param = new HashMap<>(); Map<String,Object> param = new HashMap<>();
param.put("getUserInfoSuccessFlag", true); param.put("getUserInfoSuccessFlag", true);
...@@ -154,7 +154,7 @@ public class LogStatisticsController { ...@@ -154,7 +154,7 @@ public class LogStatisticsController {
*/ */
@RequestMapping("auth") @RequestMapping("auth")
@ResponseBody @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> result = new HashMap<>();
Map<String,Object> param = new HashMap<>(); Map<String,Object> param = new HashMap<>();
...@@ -202,7 +202,7 @@ public class LogStatisticsController { ...@@ -202,7 +202,7 @@ public class LogStatisticsController {
*/ */
@RequestMapping("auth_pick_times") @RequestMapping("auth_pick_times")
@ResponseBody @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<>(); Map<String,Object> param = new HashMap<>();
...@@ -258,7 +258,7 @@ public class LogStatisticsController { ...@@ -258,7 +258,7 @@ public class LogStatisticsController {
*/ */
@RequestMapping("auth_user_type") @RequestMapping("auth_user_type")
@ResponseBody @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<>(); Map<String,Object> param = new HashMap<>();
param.put("getUserInfoSuccessFlag", true); param.put("getUserInfoSuccessFlag", true);
...@@ -299,7 +299,7 @@ public class LogStatisticsController { ...@@ -299,7 +299,7 @@ public class LogStatisticsController {
*/ */
@RequestMapping("auth_hot_org") @RequestMapping("auth_hot_org")
@ResponseBody @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<>(); Map<String,Object> param = new HashMap<>();
param.put("getUserInfoSuccessFlag", true); param.put("getUserInfoSuccessFlag", true);
if (clientId != null){ 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