Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
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
王衍超
cloud-fb
Commits
495b0b88
Commit
495b0b88
authored
Jun 25, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
给场站系统提供根据权限创建消息的接口
parent
c4baa8d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
DinasCommonController.java
...in/java/com/xyst/dinas/biz/web/DinasCommonController.java
+13
-0
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/web/DinasCommonController.java
View file @
495b0b88
...
...
@@ -279,6 +279,19 @@ public class DinasCommonController {
}
/**
* 创建一条提醒 通过自查当前权限
*
* @throws Exception
*/
@ResponseBody
@RequestMapping
(
value
=
"/warehouse/api/message/remindByPermissions"
,
method
=
RequestMethod
.
POST
)
public
void
addByPermissionsForWarehouseApi
(
@RequestBody
String
body
)
throws
Exception
{
JSONObject
data
=
new
JSONObject
(
body
);
dinasCommonService
.
addByPermissions
(
data
);
}
@RequestMapping
(
value
=
"files/all"
,
method
=
RequestMethod
.
GET
)
public
ResponseEntity
<
Resource
>
downloadAllFiles
(
@RequestParam
(
name
=
"fileIds"
)
List
<
UUID
>
fileIds
,
@RequestHeader
(
name
=
HttpHeaders
.
USER_AGENT
,
required
=
false
)
String
userAgent
)
{
...
...
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