|
@@ -18,7 +18,6 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
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.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -46,12 +45,6 @@ public class UserManagementController {
|
|
|
return userManagementFacade.login(loginVO);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "登出功能")
|
|
|
- @RequestMapping(value = "/logout", method = RequestMethod.POST)
|
|
|
- public CommonResult logout() {
|
|
|
- return CommonResult.success(null);
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation("根据用户名获取通用用户信息")
|
|
|
@PostMapping(value = "/loadByUsername")
|
|
|
public CommonResult<UserDto> loadUserByUsername(@RequestParam String username) {
|
|
@@ -104,4 +97,5 @@ public class UserManagementController {
|
|
|
public CommonResult<IPage<GetUserPageDTO>> getUserPage(GetUserPageVO getUserPageVO) {
|
|
|
return CommonResult.success(userManagementFacade.getUserPage(getUserPageVO));
|
|
|
}
|
|
|
+
|
|
|
}
|