修复网卡信息有变动saas平台未及时更新、脚本策略下发未返回结果bug。
优化mtr探测策略
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ public class SysMenuClickServiceImpl implements ISysMenuClickService
|
||||
* 获取当前用户有权限的菜单
|
||||
*/
|
||||
private List<SysMenu> getPermittedMenusForCurrentUser() {
|
||||
// 使用Ruoyi的权限服务(推荐)
|
||||
// 使用TongRan的权限服务(推荐)
|
||||
if (SecurityUtils.getLoginUser() != null) {
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
return sysMenuService.getMenuListByWelcome(userId);
|
||||
|
||||
@@ -18,11 +18,11 @@ spring:
|
||||
username: ${spring.cloud.nacos.config.username}
|
||||
password: ${spring.cloud.nacos.config.password}
|
||||
config:
|
||||
server-addr: 172.16.15.52:8848
|
||||
# 配置中心地址
|
||||
server-addr: 172.16.15.52:8848
|
||||
# server-addr: 172.16.15.103:8848
|
||||
# namespace: public
|
||||
namespace: saas-local
|
||||
# namespace: public
|
||||
username: nacos
|
||||
password: nacos
|
||||
# 配置文件格式
|
||||
|
||||
Reference in New Issue
Block a user