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
9faf9d42
Commit
9faf9d42
authored
7 years ago
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app null valid
parent
684d587e
master
…
30921_bugfix
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
EventController.java
src/main/java/com/reyun/controller/EventController.java
+4
-0
No files found.
src/main/java/com/reyun/controller/EventController.java
View file @
9faf9d42
...
...
@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.*;
import
java.io.UnsupportedEncodingException
;
import
java.net.URLDecoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
...
...
@@ -100,6 +101,9 @@ public class EventController {
@RequestMapping
(
value
=
"find4tracking"
,
method
=
RequestMethod
.
GET
)
public
ResultModel
findAllEvent4Tracking
(
@PathVariable
Long
app
,
@RequestParam
String
appkey
)
{
App
appObject
=
appRepository
.
findByAppkey
(
appkey
);
if
(
appObject
==
null
)
{
return
ResultModel
.
OK
(
new
ArrayList
());
}
return
ResultModel
.
OK
(
eventService
.
listEvent4Tracking
(
appObject
.
getId
()));
}
...
...
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