bug修复
This commit is contained in:
parent
ff165263b4
commit
cd0d1f4839
@ -168,7 +168,7 @@ public class CarVideoAirtightDataController {
|
|||||||
String os = System.getProperty("os.name").toLowerCase();
|
String os = System.getProperty("os.name").toLowerCase();
|
||||||
String command = String.valueOf(paramMap.get("command"));
|
String command = String.valueOf(paramMap.get("command"));
|
||||||
String pw = 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("执行错误");
|
return Result.error("执行错误");
|
||||||
}
|
}
|
||||||
if (os.contains("win")) {
|
if (os.contains("win")) {
|
||||||
|
|||||||
@ -147,6 +147,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.antMatchers("/xmgl/towerWorkCycle/add").permitAll()
|
.antMatchers("/xmgl/towerWorkCycle/add").permitAll()
|
||||||
.antMatchers("/xmgl/highFormworkMeasureCurrentData/add").permitAll()
|
.antMatchers("/xmgl/highFormworkMeasureCurrentData/add").permitAll()
|
||||||
.antMatchers("/xmgl/carVideoAirtightData/saveCarVideoAnalyAirtightResult").permitAll()
|
.antMatchers("/xmgl/carVideoAirtightData/saveCarVideoAnalyAirtightResult").permitAll()
|
||||||
|
.antMatchers("/xmgl/carVideoAirtightData/backstage").permitAll()
|
||||||
.antMatchers("/xmgl/carVideoWashData/saveCarVideoAnalyWashResult").permitAll()
|
.antMatchers("/xmgl/carVideoWashData/saveCarVideoAnalyWashResult").permitAll()
|
||||||
.antMatchers("/xmgl/safeEducationQuestionAnswer/add").permitAll()
|
.antMatchers("/xmgl/safeEducationQuestionAnswer/add").permitAll()
|
||||||
.antMatchers("/xmgl/elevatorFaultRecord/add").permitAll()
|
.antMatchers("/xmgl/elevatorFaultRecord/add").permitAll()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user