1.设置设备查看权限(每个公司只能查看自己购买的设备,未完善)

2.添加设备信息模块,可以选择设备查看详情(未添加实时数据部分)
3.添加教学视频模块,拉取b站系列中的视频
4.初步调整ui
This commit is contained in:
2026-03-31 17:46:40 +08:00
parent 0e2d75c23c
commit 2b8d5cc126
334 changed files with 2303 additions and 28691 deletions

View File

@@ -22,13 +22,13 @@ import com.ruoyi.common.utils.StringUtils;
@Configuration
public class FilterConfig
{
@Value("${xss.excludes}")
@Value("${xss.excludes:/system/notice}")
private String excludes;
@Value("${xss.urlPatterns}")
@Value("${xss.urlPatterns:/system/*,/monitor/*,/tool/*}")
private String urlPatterns;
@Value("${referer.allowed-domains}")
@Value("${referer.allowed-domains:localhost,127.0.0.1,ruoyi.vip,www.ruoyi.vip}")
private String allowedDomains;
@SuppressWarnings({ "rawtypes", "unchecked" })

View File

@@ -30,7 +30,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor
public final String REPEAT_TIME = "repeatTime";
// 令牌自定义标识
@Value("${token.header}")
@Value("${token.header:Authorization}")
private String header;
@Autowired

View File

@@ -34,15 +34,15 @@ public class TokenService
private static final Logger log = LoggerFactory.getLogger(TokenService.class);
// 令牌自定义标识
@Value("${token.header}")
@Value("${token.header:Authorization}")
private String header;
// 令牌秘钥
@Value("${token.secret}")
@Value("${token.secret:abcdefghijklmnopqrstuvwxyz}")
private String secret;
// 令牌有效期默认30分钟
@Value("${token.expireTime}")
@Value("${token.expireTime:30}")
private int expireTime;
protected static final long MILLIS_SECOND = 1000;