|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package org.springblade.core.oauth2.endpoint; |
|
|
|
package org.springblade.core.oauth2.endpoint; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.esotericsoftware.kryo.kryo5.minlog.Log; |
|
|
|
import com.wf.captcha.SpecCaptcha; |
|
|
|
import com.wf.captcha.SpecCaptcha; |
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
import io.swagger.v3.oas.annotations.Parameter; |
|
|
|
import io.swagger.v3.oas.annotations.Parameter; |
|
|
|
@ -179,4 +180,10 @@ public class OAuth2TokenEndPoint { |
|
|
|
this.authorizationHandler = authorizationHandler; |
|
|
|
this.authorizationHandler = authorizationHandler; |
|
|
|
this.tokenHandler = tokenHandler; |
|
|
|
this.tokenHandler = tokenHandler; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping({"/oauth/token2"}) |
|
|
|
|
|
|
|
@ApiLog(value = "获取登录信息") |
|
|
|
|
|
|
|
public void token2() { |
|
|
|
|
|
|
|
Log.info("获取用户信息"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|