diff --git a/pom.xml b/pom.xml
index 425cd77..ee1e783 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,10 @@
spring-boot-starter-test
test
+
+ org.springframework.boot
+ spring-boot-starter-web
+
com.baomidou
diff --git a/src/main/java/com/example/liteflow/mysql/controller/SubmitRoleController.java b/src/main/java/com/example/liteflow/mysql/controller/SubmitRoleController.java
new file mode 100644
index 0000000..39a6875
--- /dev/null
+++ b/src/main/java/com/example/liteflow/mysql/controller/SubmitRoleController.java
@@ -0,0 +1,31 @@
+package com.example.liteflow.mysql.controller;
+
+import cn.hutool.json.JSONUtil;
+import com.example.liteflow.mysql.model.role.Role;
+import com.example.liteflow.mysql.model.role.RoleForm;
+import com.example.liteflow.mysql.util.RoleUtil;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+/**
+ * @author: 陈韦龙
+ * @date: 2022年12月07日 10:36
+ */
+@Slf4j
+@RestController
+@RequestMapping("/submitRole")
+public class SubmitRoleController {
+ @PostMapping
+ public void orderTicket(@RequestBody RoleForm roleForm) {
+ List roles = roleForm.getRoles();
+ List