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
5d91fee8
Commit
5d91fee8
authored
7 years ago
by
xujia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.minrow.com:reyun/saasio
parents
7038defa
75192120
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 @
5d91fee8
...
...
@@ -21,6 +21,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
javax.servlet.http.HttpServletRequest
;
import
java.io.UnsupportedEncodingException
;
import
java.net.URLDecoder
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -56,6 +58,14 @@ public class RetentionController {
String
isDeviceStr
=
request
.
getParameter
(
"isdevice"
);
String
retentiontype
=
request
.
getParameter
(
"retentiontype"
);
if
(!
StringUtil
.
isEmpty
(
eventInfo
))
{
try
{
eventInfo
=
URLDecoder
.
decode
(
eventInfo
,
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
}
}
String
eventType
=
request
.
getParameter
(
"eventType"
);
boolean
isProfile
=
false
;
if
(!
StringUtils
.
isEmpty
(
eventType
)
&&
"profile"
.
equals
(
eventType
)){
...
...
@@ -110,6 +120,13 @@ public class RetentionController {
String
endDate
=
this
.
getEndDateByReportView
(
end
,
reportView
);
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
dimensionStr
=
request
.
getParameter
(
"dimention"
);
...
...
This diff is collapsed.
Click to expand it.
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