自动化立体仓库 - WMS系统
#
lty
1 天以前 efa60bb5326cff17c59c102af9aab71e62b76b2e
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -75,10 +75,10 @@
    @Autowired
    private PlatformTransactionManager transactionManager;
    @Value("${mes-wk.base-url.test:http://192.168.0.41}")
    @Value("${mes-wk.base-url.test:http://192.168.0.41:8080}")
    private String mesWkBaseUrlTest;
    @Value("${mes-wk.base-url.prod:http://192.168.0.42}")
    @Value("${mes-wk.base-url.prod:http://192.168.0.42:8080}")
    private String mesWkBaseUrlProd;
    @Value("${mes-wk.auth.ent-code:lfd}")
@@ -1138,10 +1138,8 @@
                return "http://" + v;
            }
        }
        String wkType = param != null ? param.getWkType() : null;
        String norm = wkType == null ? "" : wkType.trim().toLowerCase();
        if (norm.contains("test") || norm.contains("41") || norm.contains("测试")) {
        boolean result = true;
        if (result) {
            return normalizeHttpBaseUrl(mesWkBaseUrlTest);
        }
        return normalizeHttpBaseUrl(mesWkBaseUrlProd);
@@ -1522,7 +1520,7 @@
                url,
                request,
                null,
                null,
                request,
                response,
                success
        );