Complete the corrections of the errors in the last submission.Create the backend code structure
Please enter the commit message for your changes. Lines starting
Change-Id: I3f0c3764560b14466236e66627f34d8b71b05cd8
diff --git a/src/main/java/com/g9/g9backend/controller/UserController.java b/src/main/java/com/g9/g9backend/controller/UserController.java
new file mode 100644
index 0000000..ca6de5c
--- /dev/null
+++ b/src/main/java/com/g9/g9backend/controller/UserController.java
@@ -0,0 +1,20 @@
+package com.g9.g9backend.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * UserController 用户控制器类,处理与用户相关的请求
+ *
+ * @author hcy
+ */
+@RestController
+@RequestMapping("/user")
+public class UserController {
+
+ private final Logger logger = LoggerFactory.getLogger(UserController.class);
+}
+
+