| | |
| | | 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"); |
| | |
| | | |
| | | 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 |
| | | |
| | |
| | | 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} |
| | |
| | | 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 |
| | |
| | | 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} |
| | |
| | | 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]: |