Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
Project
Overview
Details
Activity
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
reyun
saasio
Commits
75192120
Commit
75192120
authored
Mar 22, 2018
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
retention decode
parent
b2af5cb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
RetentionController.java
src/main/java/com/reyun/controller/RetentionController.java
+17
-0
No files found.
src/main/java/com/reyun/controller/RetentionController.java
View file @
75192120
...
@@ -21,6 +21,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
...
@@ -21,6 +21,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
java.io.UnsupportedEncodingException
;
import
java.net.URLDecoder
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -56,6 +58,14 @@ public class RetentionController {
...
@@ -56,6 +58,14 @@ public class RetentionController {
String
isDeviceStr
=
request
.
getParameter
(
"isdevice"
);
String
isDeviceStr
=
request
.
getParameter
(
"isdevice"
);
String
retentiontype
=
request
.
getParameter
(
"retentiontype"
);
String
retentiontype
=
request
.
getParameter
(
"retentiontype"
);
if
(!
StringUtil
.
isEmpty
(
eventInfo
))
{
try
{
eventInfo
=
URLDecoder
.
decode
(
eventInfo
,
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
}
}
String
eventType
=
request
.
getParameter
(
"eventType"
);
String
eventType
=
request
.
getParameter
(
"eventType"
);
boolean
isProfile
=
false
;
boolean
isProfile
=
false
;
if
(!
StringUtils
.
isEmpty
(
eventType
)
&&
"profile"
.
equals
(
eventType
)){
if
(!
StringUtils
.
isEmpty
(
eventType
)
&&
"profile"
.
equals
(
eventType
)){
...
@@ -110,6 +120,13 @@ public class RetentionController {
...
@@ -110,6 +120,13 @@ public class RetentionController {
String
endDate
=
this
.
getEndDateByReportView
(
end
,
reportView
);
String
endDate
=
this
.
getEndDateByReportView
(
end
,
reportView
);
String
eventInfo
=
request
.
getParameter
(
"eventinfo"
);
String
eventInfo
=
request
.
getParameter
(
"eventinfo"
);
if
(!
StringUtil
.
isEmpty
(
eventInfo
))
{
try
{
eventInfo
=
URLDecoder
.
decode
(
eventInfo
,
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
}
}
String
userGroupStr
=
request
.
getParameter
(
"usergroupid"
);
String
userGroupStr
=
request
.
getParameter
(
"usergroupid"
);
String
dimensionStr
=
request
.
getParameter
(
"dimention"
);
String
dimensionStr
=
request
.
getParameter
(
"dimention"
);
...
...
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