Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
browser-backend
Project
Project
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
Administrator
browser-backend
Commits
20ff8a2f
Commit
20ff8a2f
authored
Jan 19, 2021
by
lixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
维护公告
parent
4b78de7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
GlobalFieldController.java
...wserbackend/browser/controller/GlobalFieldController.java
+14
-0
No files found.
src/main/java/com/edgec/browserbackend/browser/controller/GlobalFieldController.java
View file @
20ff8a2f
package
com
.
edgec
.
browserbackend
.
browser
.
controller
;
package
com
.
edgec
.
browserbackend
.
browser
.
controller
;
import
com.edgec.browserbackend.account.dto.NoticeDto
;
import
com.edgec.browserbackend.account.dto.ResultDto
;
import
com.edgec.browserbackend.account.dto.ResultDto
;
import
com.edgec.browserbackend.account.service.AdministratorService
;
import
com.edgec.browserbackend.browser.service.GlobalFieldService
;
import
com.edgec.browserbackend.browser.service.GlobalFieldService
;
import
com.edgec.browserbackend.common.commons.error.ClientRequestException
;
import
com.edgec.browserbackend.common.commons.error.ClientRequestException
;
import
com.edgec.browserbackend.common.utils.ResponseUtil
;
import
com.edgec.browserbackend.common.utils.ResponseUtil
;
...
@@ -9,6 +11,7 @@ import org.slf4j.LoggerFactory;
...
@@ -9,6 +11,7 @@ import org.slf4j.LoggerFactory;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
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.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -24,6 +27,9 @@ public class GlobalFieldController {
...
@@ -24,6 +27,9 @@ public class GlobalFieldController {
@Autowired
@Autowired
private
GlobalFieldService
globalFieldService
;
private
GlobalFieldService
globalFieldService
;
@Autowired
private
AdministratorService
administratorService
;
@GetMapping
(
"/speciallinestate"
)
@GetMapping
(
"/speciallinestate"
)
public
ResultDto
querySpecialLineState
()
{
public
ResultDto
querySpecialLineState
()
{
String
logs
=
"【querySpecialLineState】 "
;
String
logs
=
"【querySpecialLineState】 "
;
...
@@ -37,4 +43,12 @@ public class GlobalFieldController {
...
@@ -37,4 +43,12 @@ public class GlobalFieldController {
return
ResponseUtil
.
error
(
e
.
getMessage
());
return
ResponseUtil
.
error
(
e
.
getMessage
());
}
}
}
}
/**
* 查询公告
*/
@RequestMapping
(
path
=
"/getNotice"
,
method
=
RequestMethod
.
GET
)
public
NoticeDto
getNotice
()
{
return
administratorService
.
getNotice
();
}
}
}
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