class AdminAuthGroupService {

    @Transactional
    public Result delete(AdminAuthGroup group) {
        //  删除用户组
        adminAuthGroupDao.delete(group.getId());
        //  清理用户组下的用户
        adminAuthGroupAccessDao.deleteByGroupId(group.getId());
        return Result.wrapResult(AdminAuthRuleLang.DROP_SUCCESS);
    }

}