From c1a79a3cfcfe5a8a3eefa8ccb0f451950ff328b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=98=89=E4=BC=9F?= <1724121454@qq.com>
Date: Tue, 10 Aug 2021 15:12:39 +0800
Subject: [PATCH] listener
---
console/pom.xml | 5 +++++
.../mesnac/dispatch/controller/UserResourceController.java | 2 +-
pom.xml | 6 ++++++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/console/pom.xml b/console/pom.xml
index f65c57fb..ffdf56a5 100644
--- a/console/pom.xml
+++ b/console/pom.xml
@@ -64,6 +64,11 @@
anomaly
+
+ com.foreverwin.mesnac
+ listener
+
+
com.foreverwin.mesnac
quartz
diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/UserResourceController.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/UserResourceController.java
index 5fb59ea8..5362f265 100644
--- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/UserResourceController.java
+++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/UserResourceController.java
@@ -139,7 +139,7 @@ public class UserResourceController {
return R.ok(userResourceService.findAll(userResourceDto));
}
- @PostMapping("saveAll")
+ @PostMapping("/saveAll")
public R saveAll(@RequestBody Map param){
String resource = (String) param.get("resource");
String user = (String) param.get("user");
diff --git a/pom.xml b/pom.xml
index 64dc68e7..ab5c5d57 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,6 +132,12 @@
${project.version}
+
+ com.foreverwin.mesnac
+ listener
+ ${project.version}
+
+
com.foreverwin.mesnac
dataimport