mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-06-15 18:11:42 +08:00
代码优化
This commit is contained in:
@@ -37,8 +37,8 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
@@ -63,7 +63,7 @@ public class TokenBasedAuthorizeEndpoint extends AuthorizeBaseEndpoint{
|
||||
ApplicationConfig applicationConfig;
|
||||
|
||||
@Operation(summary = "TokenBased认证接口", description = "传递参数应用ID",method="GET")
|
||||
@RequestMapping("/authz/tokenbased/{id}")
|
||||
@GetMapping("/authz/tokenbased/{id}")
|
||||
public ModelAndView authorize(
|
||||
HttpServletRequest request,
|
||||
HttpServletResponse response,
|
||||
|
||||
Reference in New Issue
Block a user