Browse Source

fix(web): 修改角色列表接口为POST请求- 将/queryList接口从GET请求改为POST请求
-保持接口功能不变,仅调整HTTP方法类型

chejianzheng 1 week ago
parent
commit
5cec6d8d3b

+ 1 - 1
portal-service-application/src/main/java/com/hfln/portal/application/controller/web/WebRoleController.java

@@ -41,7 +41,7 @@ public class WebRoleController {
         return ApiResult.success();
     }
 
-    @GetMapping("/queryList")
+    @PostMapping("/queryList")
     @Operation(summary = "获取角色列表")
     public ApiResult<List<RoleListDTO>> roleList(@RequestBody @Valid QueryRoleParam param) {
         List<RoleListDTO> roleList = webGateway.roleList(param);