🎉 4.4.0.RELEASE 新增黑白名单、脱敏工具、BladeRedis新版工具

This commit is contained in:
smallchill 2025-01-18 18:24:15 +08:00
parent 0cd8559240
commit 5f22a5a288
7 changed files with 25 additions and 13 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "saber-admin", "name": "saber-admin",
"version": "4.3.0", "version": "4.4.0",
"scripts": { "scripts": {
"dev": "vite --host", "dev": "vite --host",
"prod": "vite --mode production", "prod": "vite --mode production",

View File

@ -45,7 +45,7 @@ export default {
//auth配置 //auth配置
auth: { auth: {
// 使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取 // 使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取
publicKey: '请配置国密sm2公钥', publicKey: '048ecaec81db406275b5fd8a18164c4a58cc8575159b89d3cb61871cab34bd267fe0a7543277d4c9cfd13c946c507c3e8dfe0121b845ba968221eaf64a242cf7f0',
}, },
// 授权地址 // 授权地址
authUrl: 'http://localhost/blade-auth/oauth/render', authUrl: 'http://localhost/blade-auth/oauth/render',

View File

@ -3,15 +3,12 @@
<div class="desktop"> <div class="desktop">
<div class="top"> <div class="top">
<el-dropdown trigger="click"> <el-dropdown trigger="click">
<div class="logo"><i class="iconfont icon-pingguo"></i></div> <div class="logo"><i class="iconfont iconicon_setting"></i></div>
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item> <el-dropdown-item>
<div>{{userInfo.username}}</div> <div>{{userInfo.username}}</div>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item>
<top-lock text="锁定屏幕"></top-lock>
</el-dropdown-item>
<el-dropdown-item> <el-dropdown-item>
<div @click="switchTheme">退出主题</div> <div @click="switchTheme">退出主题</div>
</el-dropdown-item> </el-dropdown-item>
@ -386,4 +383,4 @@ export default {
.app-item:hover { .app-item:hover {
border: 2px solid rgba(255, 255, 255, 0.5); border: 2px solid rgba(255, 255, 255, 0.5);
} }
</style> </style>

View File

@ -121,7 +121,7 @@ export default {
}, },
beforeOpen (done, type) { beforeOpen (done, type) {
if (["edit", "view"].includes(type)) { if (["edit", "view"].includes(type)) {
getApiLogs(this.form.strId).then(res => { getApiLogs(this.form.id).then(res => {
this.form = res.data.data; this.form = res.data.data;
}); });
} }

View File

@ -128,7 +128,7 @@ export default {
}, },
beforeOpen (done, type) { beforeOpen (done, type) {
if (["edit", "view"].includes(type)) { if (["edit", "view"].includes(type)) {
getErrorLogs(this.form.strId).then(res => { getErrorLogs(this.form.id).then(res => {
this.form = res.data.data; this.form = res.data.data;
}); });
} }

View File

@ -120,7 +120,7 @@ export default {
}, },
beforeOpen (done, type) { beforeOpen (done, type) {
if (["edit", "view"].includes(type)) { if (["edit", "view"].includes(type)) {
getUsualLogs(this.form.strId).then(res => { getUsualLogs(this.form.id).then(res => {
this.form = res.data.data; this.form = res.data.data;
}); });
} }

View File

@ -2,7 +2,7 @@
<basic-container> <basic-container>
<third-register></third-register> <third-register></third-register>
<p style="text-align: center;"> <p style="text-align: center;">
<img src="https://img.shields.io/badge/Release-V4.3.0-green.svg" <img src="https://img.shields.io/badge/Release-V4.4.0-green.svg"
alt="Downloads"/> alt="Downloads"/>
<img src="https://img.shields.io/badge/JDK-17+-green.svg" <img src="https://img.shields.io/badge/JDK-17+-green.svg"
alt="Build Status"/> alt="Build Status"/>
@ -156,9 +156,24 @@
<basic-container> <basic-container>
<el-collapse v-model="logActiveNames" <el-collapse v-model="logActiveNames"
@change="handleChange"> @change="handleChange">
<el-collapse-item title="4.4.0发布 新增黑白名单、脱敏工具、BladeRedis新版工具"
name="40">
<div>1.[升级]Spring 6.1.15</div>
<div>2.[升级]SpringBoot 3.2.12</div>
<div>3.[新增]黑名单与白名单IP配置功能</div>
<div>4.[新增]自定义URL拦截功能默认屏蔽外部访问actuator接口</div>
<div>5.[新增]脱敏工具类</div>
<div>6.[新增]BladeRedis工具类代替RedisUtil工具类</div>
<div>7.[新增]基于Redisson支持redis pub/sub 发布</div>
<div>8.[新增]@TenantIgnore注解用于接口排除租户逻辑</div>
<div>9.[优化]jackson序列化时支持空字符串转换为null对象</div>
<div>10.[优化]调整 sql 日志打印实现逻辑</div>
<div>11.[优化]关闭 mybatis 默认的日志</div>
<div>12.[优化]默认放行feign接口特定前缀的feign接口不再二次鉴权</div>
</el-collapse-item>
<el-collapse-item title="4.3.0发布 多租户支持线程模式指定租户ID与忽略租户" <el-collapse-item title="4.3.0发布 多租户支持线程模式指定租户ID与忽略租户"
name="39"> name="39">
<div>1.[升级]SpringBoot 6.1.14</div> <div>1.[升级]Spring 6.1.14</div>
<div>2.[升级]SpringBoot 3.2.10</div> <div>2.[升级]SpringBoot 3.2.10</div>
<div>3.[升级]SpringCloud 2023.0.3</div> <div>3.[升级]SpringCloud 2023.0.3</div>
<div>4.[升级]SpringCloud Alibaba 2023.0.1.2</div> <div>4.[升级]SpringCloud Alibaba 2023.0.1.2</div>
@ -646,7 +661,7 @@ export default {
data() { data() {
return { return {
activeNames: ['1', '2', '3', '5'], activeNames: ['1', '2', '3', '5'],
logActiveNames: ['39'] logActiveNames: ['40']
}; };
}, },
computed: { computed: {