mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	fix: 缓存使用redis无法set问题修复&admin账号默认有所有菜单
This commit is contained in:
		@@ -38,7 +38,7 @@ func (r *Role) SaveRole(rc *req.Ctx) {
 | 
			
		||||
// 删除角色及其资源关联关系
 | 
			
		||||
func (r *Role) DelRole(rc *req.Ctx) {
 | 
			
		||||
	idsStr := ginx.PathParam(rc.GinCtx, "id")
 | 
			
		||||
	rc.ReqParam = idsStr
 | 
			
		||||
	rc.ReqParam = collx.Kvs("ids", idsStr)
 | 
			
		||||
	ids := strings.Split(idsStr, ",")
 | 
			
		||||
 | 
			
		||||
	for _, v := range ids {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user