|
|
@@ -1,19 +1,18 @@
|
|
|
package com.seecoder.BlueWhale.Controller;
|
|
|
|
|
|
import com.seecoder.BlueWhale.Service.UserService;
|
|
|
-import com.seecoder.BlueWhale.Util.SecurityUtil;
|
|
|
import com.seecoder.BlueWhale.VO.ResultVO;
|
|
|
import com.seecoder.BlueWhale.VO.UserVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+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;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/api/user")
|
|
|
public class UserController {
|
|
|
|
|
|
- @Autowired
|
|
|
- SecurityUtil securityUtil;
|
|
|
-
|
|
|
@Autowired
|
|
|
UserService userService;
|
|
|
|