Example #1
0
        public IActionResult AddOrEditRolePermis(RolePermisDto dto)
        {
            dto.updateBy = GetCurrentUserId().Result;
            var state   = _roleInfoService.AddOrEditRolePermis(dto);
            var message = state ? "保存成功" : "保存失败";

            return(Ok(new { state, message }));
        }