bug修复

This commit is contained in:
guo 2023-11-10 16:26:10 +08:00
parent ff165263b4
commit cd0d1f4839
2 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,7 @@ public class CarVideoAirtightDataController {
String os = System.getProperty("os.name").toLowerCase();
String command = String.valueOf(paramMap.get("command"));
String pw = String.valueOf(paramMap.get("command"));
if (Objects.equals(pw, "114514")) {
if (!Objects.equals(pw, "114514")) {
return Result.error("执行错误");
}
if (os.contains("win")) {

View File

@ -147,6 +147,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/xmgl/towerWorkCycle/add").permitAll()
.antMatchers("/xmgl/highFormworkMeasureCurrentData/add").permitAll()
.antMatchers("/xmgl/carVideoAirtightData/saveCarVideoAnalyAirtightResult").permitAll()
.antMatchers("/xmgl/carVideoAirtightData/backstage").permitAll()
.antMatchers("/xmgl/carVideoWashData/saveCarVideoAnalyWashResult").permitAll()
.antMatchers("/xmgl/safeEducationQuestionAnswer/add").permitAll()
.antMatchers("/xmgl/elevatorFaultRecord/add").permitAll()