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
0aa56462
Commit
0aa56462
authored
7 years ago
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trackingio login url
parent
07e37b22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
IndexController.java
src/main/java/com/reyun/controller/IndexController.java
+14
-0
No files found.
src/main/java/com/reyun/controller/IndexController.java
View file @
0aa56462
package
com
.
reyun
.
controller
;
package
com
.
reyun
.
controller
;
import
com.reyun.repository.ConfigParamRepository
;
import
com.reyun.util.ResultModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
/**
/**
* Created by nolan on 06/06/2017.
* Created by nolan on 06/06/2017.
...
@@ -10,4 +15,13 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -10,4 +15,13 @@ import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@Controller
@RequestMapping
(
"index"
)
@RequestMapping
(
"index"
)
public
class
IndexController
{
public
class
IndexController
{
@Autowired
ConfigParamRepository
configParamRepository
;
@RequestMapping
(
value
=
"trackingio"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
ResultModel
findUserIOUrl
()
{
return
ResultModel
.
OK
(
configParamRepository
.
findParamsByKey
(
"trackingio_login_url"
));
}
}
}
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