|
@@ -50,6 +50,15 @@ import org.springframework.web.bind.annotation.*;
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
public class OAuth2ServerController {
|
|
public class OAuth2ServerController {
|
|
|
private final OAuth2PswUserOperatorManager pswUserOperatorManager;
|
|
private final OAuth2PswUserOperatorManager pswUserOperatorManager;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("获取token")
|
|
|
|
|
+ @ApiOperationSupport(author = "lf")
|
|
|
|
|
+ @PostMapping("/token")
|
|
|
|
|
+ @OperateLog(loginType = LoginType.login,logArgs = false,logResultData = false)
|
|
|
|
|
+ public CommonResult<Object> postRequest(@Validated@RequestBody OAuth2PswReqDTO source) {
|
|
|
|
|
+ return request(source);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@ApiOperation("获取token")
|
|
@ApiOperation("获取token")
|
|
|
@ApiOperationSupport(author = "lf")
|
|
@ApiOperationSupport(author = "lf")
|
|
|
@GetMapping("/token")
|
|
@GetMapping("/token")
|