Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
fanxing3-integration
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9dc7dbf0
authored
Jun 14, 2022
by
毛树良
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
<fix>:增加接口
1 parent
91cb74e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
fanxing-docking-gb1400/src/main/java/com/viontech/controller/Gb1400Controller.java
fanxing-docking-gb1400/src/main/java/com/viontech/controller/Gb1400Controller.java
View file @
9dc7dbf
...
@@ -5,6 +5,7 @@ import com.viontech.constant.SystemConstants;
...
@@ -5,6 +5,7 @@ import com.viontech.constant.SystemConstants;
import
com.viontech.service.Gb1400Service
;
import
com.viontech.service.Gb1400Service
;
import
com.viontech.utils.Gb1400ResponseUtil
;
import
com.viontech.utils.Gb1400ResponseUtil
;
import
com.viontech.utils.JsonMessage
;
import
com.viontech.utils.JsonMessage
;
import
com.viontech.vo.gb1400.SubscribeNotificationsObj
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.HandlerMapping
;
import
org.springframework.web.servlet.HandlerMapping
;
...
@@ -119,6 +120,28 @@ public class Gb1400Controller {
...
@@ -119,6 +120,28 @@ public class Gb1400Controller {
response
.
getWriter
().
write
(
result
.
toJSONString
());
response
.
getWriter
().
write
(
result
.
toJSONString
());
}
}
/**
* 删除通知记录
* @param IDList
* @return
*/
@DeleteMapping
(
"/SubscribeNotifications"
)
public
JSONObject
deleteNotificationsRecord
(
String
IDList
){
log
.
info
(
"收到请求[deleteNotificationsRecord.request]:{}"
,
""
);
return
Gb1400ResponseUtil
.
success
(
"/VIID/SubscribeNotifications"
);
}
/**
* 查询通知记录
* @param obj
* @return
*/
@GetMapping
(
"/SubscribeNotifications"
)
public
JSONObject
selectNotificationsRecord
(
SubscribeNotificationsObj
.
SubscribeNotificationObject
obj
){
log
.
info
(
"收到请求[selectNotificationsRecord.request]:{}"
,
""
);
return
Gb1400ResponseUtil
.
success
(
"/VIID/SubscribeNotifications"
);
}
/**
/**
* 注册接口
* 注册接口
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment