1.设置设备查看权限(每个公司只能查看自己购买的设备,未完善)
2.添加设备信息模块,可以选择设备查看详情(未添加实时数据部分) 3.添加教学视频模块,拉取b站系列中的视频 4.初步调整ui
This commit is contained in:
@@ -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" })
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user