Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李良停
sh-ds
Commits
a0b06f2c
Commit
a0b06f2c
authored
Jan 28, 2021
by
喻春霖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
766ce1f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
LogStatisticsController.java
.../authcenter/agent/controller/LogStatisticsController.java
+6
-6
No files found.
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/controller/LogStatisticsController.java
View file @
a0b06f2c
...
...
@@ -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
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment