Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
8a7dcf8a
提交
8a7dcf8a
authored
10月 25, 2021
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正错别字
上级
0c30ffa1
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
RepeatSubmit.java
...c/main/java/com/ruoyi/common/annotation/RepeatSubmit.java
+1
-1
RateLimiterAspect.java
...n/java/com/ruoyi/framework/aspectj/RateLimiterAspect.java
+2
-2
index.vue
ruoyi-ui/src/layout/components/Settings/index.vue
+2
-2
index.vue
ruoyi-ui/src/views/index.vue
+1
-1
index.vue
ruoyi-ui/src/views/monitor/cache/index.vue
+1
-1
index.vue
ruoyi-ui/src/views/monitor/server/index.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/role/index.vue
+2
-2
没有找到文件。
ruoyi-common/src/main/java/com/ruoyi/common/annotation/RepeatSubmit.java
浏览文件 @
8a7dcf8a
...
@@ -27,5 +27,5 @@ public @interface RepeatSubmit
...
@@ -27,5 +27,5 @@ public @interface RepeatSubmit
/**
/**
* 提示消息
* 提示消息
*/
*/
public
String
message
()
default
"不允许重复提交,请稍
后
再试"
;
public
String
message
()
default
"不允许重复提交,请稍
候
再试"
;
}
}
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/RateLimiterAspect.java
浏览文件 @
8a7dcf8a
...
@@ -61,7 +61,7 @@ public class RateLimiterAspect
...
@@ -61,7 +61,7 @@ public class RateLimiterAspect
Long
number
=
redisTemplate
.
execute
(
limitScript
,
keys
,
count
,
time
);
Long
number
=
redisTemplate
.
execute
(
limitScript
,
keys
,
count
,
time
);
if
(
StringUtils
.
isNull
(
number
)
||
number
.
intValue
()
>
count
)
if
(
StringUtils
.
isNull
(
number
)
||
number
.
intValue
()
>
count
)
{
{
throw
new
ServiceException
(
"访问过于频繁,请稍
后
再试"
);
throw
new
ServiceException
(
"访问过于频繁,请稍
候
再试"
);
}
}
log
.
info
(
"限制请求'{}',当前请求'{}',缓存key'{}'"
,
count
,
number
.
intValue
(),
key
);
log
.
info
(
"限制请求'{}',当前请求'{}',缓存key'{}'"
,
count
,
number
.
intValue
(),
key
);
}
}
...
@@ -71,7 +71,7 @@ public class RateLimiterAspect
...
@@ -71,7 +71,7 @@ public class RateLimiterAspect
}
}
catch
(
Exception
e
)
catch
(
Exception
e
)
{
{
throw
new
RuntimeException
(
"服务器限流异常,请稍
后
再试"
);
throw
new
RuntimeException
(
"服务器限流异常,请稍
候
再试"
);
}
}
}
}
...
...
ruoyi-ui/src/layout/components/Settings/index.vue
浏览文件 @
8a7dcf8a
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
this
.
sideTheme
=
val
;
this
.
sideTheme
=
val
;
},
},
saveSetting
()
{
saveSetting
()
{
this
.
$modal
.
loading
(
"正在保存到本地,请稍
后
..."
);
this
.
$modal
.
loading
(
"正在保存到本地,请稍
候
..."
);
this
.
$cache
.
local
.
set
(
this
.
$cache
.
local
.
set
(
"layout-setting"
,
"layout-setting"
,
`{
`{
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
setTimeout
(
this
.
$modal
.
closeLoading
(),
1000
)
setTimeout
(
this
.
$modal
.
closeLoading
(),
1000
)
},
},
resetSetting
()
{
resetSetting
()
{
this
.
$modal
.
loading
(
"正在清除设置缓存并刷新,请稍
后
..."
);
this
.
$modal
.
loading
(
"正在清除设置缓存并刷新,请稍
候
..."
);
this
.
$cache
.
local
.
remove
(
"layout-setting"
)
this
.
$cache
.
local
.
remove
(
"layout-setting"
)
setTimeout
(
"window.location.reload()"
,
1000
)
setTimeout
(
"window.location.reload()"
,
1000
)
}
}
...
...
ruoyi-ui/src/views/index.vue
浏览文件 @
8a7dcf8a
...
@@ -590,7 +590,7 @@
...
@@ -590,7 +590,7 @@
<li>
修复表格时间为空出现的异常
</li>
<li>
修复表格时间为空出现的异常
</li>
<li>
添加Jackson日期反序列化时区配置
</li>
<li>
添加Jackson日期反序列化时区配置
</li>
<li>
调整根据用户权限加载菜单数据树形结构
</li>
<li>
调整根据用户权限加载菜单数据树形结构
</li>
<li>
调整成功登
陆
不恢复按钮,防止多次点击
</li>
<li>
调整成功登
录
不恢复按钮,防止多次点击
</li>
<li>
修改用户个人资料同步缓存信息
</li>
<li>
修改用户个人资料同步缓存信息
</li>
<li>
修复页面同时出现el-upload和Editor不显示处理
</li>
<li>
修复页面同时出现el-upload和Editor不显示处理
</li>
<li>
修复在角色管理页修改菜单权限偶尔未选中问题
</li>
<li>
修复在角色管理页修改菜单权限偶尔未选中问题
</li>
...
...
ruoyi-ui/src/views/monitor/cache/index.vue
浏览文件 @
8a7dcf8a
...
@@ -139,7 +139,7 @@ export default {
...
@@ -139,7 +139,7 @@ export default {
},
},
// 打开加载层
// 打开加载层
openLoading
()
{
openLoading
()
{
this
.
$modal
.
loading
(
"正在加载缓存监控数据,请稍
后
!"
);
this
.
$modal
.
loading
(
"正在加载缓存监控数据,请稍
候
!"
);
},
},
},
},
};
};
...
...
ruoyi-ui/src/views/monitor/server/index.vue
浏览文件 @
8a7dcf8a
...
@@ -196,7 +196,7 @@ export default {
...
@@ -196,7 +196,7 @@ export default {
},
},
// 打开加载层
// 打开加载层
openLoading
()
{
openLoading
()
{
this
.
$modal
.
loading
(
"正在加载服务监控数据,请稍
后
!"
);
this
.
$modal
.
loading
(
"正在加载服务监控数据,请稍
候
!"
);
}
}
}
}
};
};
...
...
ruoyi-ui/src/views/system/role/index.vue
浏览文件 @
8a7dcf8a
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
ref=
"menu"
ref=
"menu"
node-key=
"id"
node-key=
"id"
:check-strictly=
"!form.menuCheckStrictly"
:check-strictly=
"!form.menuCheckStrictly"
empty-text=
"加载中,请稍
后
"
empty-text=
"加载中,请稍
候
"
:props=
"defaultProps"
:props=
"defaultProps"
></el-tree>
></el-tree>
</el-form-item>
</el-form-item>
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
ref=
"dept"
ref=
"dept"
node-key=
"id"
node-key=
"id"
:check-strictly=
"!form.deptCheckStrictly"
:check-strictly=
"!form.deptCheckStrictly"
empty-text=
"加载中,请稍
后
"
empty-text=
"加载中,请稍
候
"
:props=
"defaultProps"
:props=
"defaultProps"
></el-tree>
></el-tree>
</el-form-item>
</el-form-item>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论