api接口

This commit is contained in:
lvshaohua 2024-04-10 17:50:31 +08:00
parent f9b3d9fc39
commit 1689297635

View File

@ -49,11 +49,11 @@ public interface TyrSaasRoleApi {
/** OMS编辑菜单时给角色赋权限 **/
@PostMapping("/api/saasRoleGroup/relation/saveOrUpdate")
ApiResult<Long> saveOrUpdateFeatureRoleRelation(List<FeatureRoleRelationReq> saasFeatureRoleRelationReq, Long operatorId);
ApiResult<Long> saveOrUpdateFeatureRoleRelation(@RequestParam List<FeatureRoleRelationReq> saasFeatureRoleRelationReq, @RequestParam Long operatorId);
/** 角色和组件页面的关联关系 **/
@PostMapping("/api/saasRoleGroup/relation/query")
ApiResult<List<FeatureRoleRelationResp>> queryFeatureRoleRelation(Long featureId);
ApiResult<List<FeatureRoleRelationResp>> queryFeatureRoleRelation(@RequestParam Long featureId);
/**
* 根据id查询详情