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
fcc348c8
Commit
fcc348c8
authored
7 years ago
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
value special
parent
fe506cd7
master
…
20180326_events4track
30921_bugfix
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
EventServiceImpl.java
src/main/java/com/reyun/service/impl/EventServiceImpl.java
+3
-5
No files found.
src/main/java/com/reyun/service/impl/EventServiceImpl.java
View file @
fcc348c8
...
@@ -969,19 +969,17 @@ public class EventServiceImpl implements EventService {
...
@@ -969,19 +969,17 @@ public class EventServiceImpl implements EventService {
if
(
attrName
.
equals
(
"_cid"
)
||
attrName
.
equals
(
"_campaignid"
))
{
if
(
attrName
.
equals
(
"_cid"
)
||
attrName
.
equals
(
"_campaignid"
))
{
String
values
=
String
.
join
(
","
,
set
);
String
values
=
String
.
join
(
","
,
set
);
String
url
=
Constant
.
trackingUrl
+
"/api/"
+
app
+
"/event/find/valuespecail?attrName="
+
attrName
+
"&values="
+
values
;
String
url
=
Constant
.
trackingUrl
+
"/api/"
+
app
+
"/event/find/valuespecail?attrName="
+
attrName
+
"&values="
+
values
;
try
{
String
response
=
HttpClientUtil
.
doHttpGetRequest
(
url
,
"io"
);
String
response
=
HttpClientUtil
.
doHttpGetRequest
(
url
,
"io"
);
if
(!
StringUtil
.
isEmpty
(
response
))
{
if
(!
StringUtil
.
isEmpty
(
response
))
{
try
{
JSONObject
ob
=
new
JSONObject
(
response
);
JSONObject
ob
=
new
JSONObject
(
response
);
JSONObject
content
=
ob
.
getJSONObject
(
"content"
);
JSONObject
content
=
ob
.
getJSONObject
(
"content"
);
ObjectMapper
mapper
=
new
ObjectMapper
();
ObjectMapper
mapper
=
new
ObjectMapper
();
result
=
mapper
.
readValue
(
content
.
toString
(),
Map
.
class
);
result
=
mapper
.
readValue
(
content
.
toString
(),
Map
.
class
);
}
else
{
}
catch
(
Exception
e
)
{
result
.
put
(
"value"
,
list
);
result
.
put
(
"value"
,
list
);
}
}
}
catch
(
Exception
e
)
{
}
else
{
result
.
put
(
"value"
,
list
);
result
.
put
(
"value"
,
list
);
}
}
}
else
{
}
else
{
...
...
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