1、调整IAM权限

2、新增常用地址模块
This commit is contained in:
2026-07-17 18:23:56 +08:00
parent 31c68a857a
commit f13963f5b8
18 changed files with 1445 additions and 4 deletions
@@ -34,8 +34,8 @@ import org.springblade.core.oauth2.provider.OAuth2Response;
import org.springblade.core.tool.support.Kv;
import org.springblade.core.tool.utils.StringUtil;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
/**
@@ -59,7 +59,7 @@ public class IamSsoEndpoint {
* @param request 请求信息
* @return token
*/
@PostMapping("/token")
@RequestMapping(value = "/token", method = {RequestMethod.GET, RequestMethod.POST})
@Operation(summary = "IAM统一身份认证登录", description = "使用IAM授权码换取本系统Token")
public ResponseEntity<Kv> token(HttpServletRequest request) {
String grantType = request.getParameter("grant_type");