Commit 495b0b88 by shiwenbo

给场站系统提供根据权限创建消息的接口

parent c4baa8d1
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment