zzgtfwq
15 小时以前 ecebe91bd1456aaabf95a5fdc81d663f41725505
#26-03-10-00
2个文件已修改
21 ■■■■ 已修改文件
src/main/java/com/zy/common/config/AdminInterceptor.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/config/AdminInterceptor.java
@@ -51,7 +51,7 @@
        if ("OPTIONS".equalsIgnoreCase(request.getMethod())) {
//            System.out.println("✅ 放行 OPTIONS 预检请求");
            // 手动设置 CORS 头
            response.setHeader("Access-Control-Allow-Origin", "http://127.0.0.1:8080");
            response.setHeader("Access-Control-Allow-Origin", "http://10.10.10.250:8080");
            response.setHeader("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
            response.setHeader("Access-Control-Allow-Headers", "Content-Type, Access-Token, token");
            response.setHeader("Access-Control-Allow-Credentials", "true");
src/main/resources/application.yml
@@ -39,7 +39,7 @@
wms:
  rgvOpen: false
  url: 127.0.0.1:8080/zzgtasrs
  url: 10.10.10.250:8080/zzgtasrs
  urlWMS: 127.0.0.1:8056/actionapi/HighAsRs
  comb: mobile/combAuto/wcs/auth
@@ -507,9 +507,9 @@
      directionOther: false
    rgvOutSta[3]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 202
      staNo: 216
      direction: true
      staNoOther: 202
      staNoOther: 216
      directionOther: false
    rgvOutSta[4]:
      devpPlcId: ${wcs-slave.devp[1].id}
@@ -525,10 +525,11 @@
      directionOther: false
    rgvSuperSta[0]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 202
      staNo: 216
      direction: true
      staNoOther: 202
      staNoOther: 216
      directionOther: false
  # RGV穿梭车4
  rgv[3]:
    id: 4
@@ -611,9 +612,9 @@
      directionOther: false
    rgvOutSta[3]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 216
      staNo: 202
      direction: true
      staNoOther: 216
      staNoOther: 202
      directionOther: false
    rgvOutSta[4]:
      devpPlcId: ${wcs-slave.devp[1].id}
@@ -629,9 +630,9 @@
      directionOther: false
    rgvSuperSta[0]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 216
      staNo: 202
      direction: true
      staNoOther: 216
      staNoOther: 202
      directionOther: false
  # 输送线1
  devp[0]: