diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToNDCServiceImpl.java b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToNDCServiceImpl.java index 9a8df00..79e169d 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToNDCServiceImpl.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToNDCServiceImpl.java @@ -74,15 +74,15 @@ public class AcsToNDCServiceImpl implements AcsToNDCService { jo.put("params", ja); } String wmsurl = paramService.findByCode(AcsConfig.WCSURL).getValue(); - AddressDto addressDto = addressService.findByCode("applyTaskToWcs"); - String url = wmsurl + addressDto.getMethods_url(); +// AddressDto addressDto = addressService.findByCode("applyTaskToWcs"); + String url = wmsurl; LuceneLogDto logDto = LuceneLogDto.builder() .logType("接口日志") .request_url(wmsurl) .request_direction("post") .request_param(JSON.toJSONString(jo)) - .method(addressDto.getMethods_url()) + .method("/") .content("开始请求") .build(); luceneExecuteLogService.interfaceExecuteLog(logDto); @@ -99,7 +99,7 @@ public class AcsToNDCServiceImpl implements AcsToNDCService { .request_url(wmsurl) .request_direction("post") .request_param(JSON.toJSONString(jo)) - .method(addressDto.getMethods_url()) + .method("/") .response_param(JSON.toJSONString(result)) .executeTime(System.currentTimeMillis() - start) .content("响应请求") diff --git a/acs/nladmin-system/src/main/resources/config/application-prod.yml b/acs/nladmin-system/src/main/resources/config/application-prod.yml index e531129..23c9589 100644 --- a/acs/nladmin-system/src/main/resources/config/application-prod.yml +++ b/acs/nladmin-system/src/main/resources/config/application-prod.yml @@ -6,7 +6,7 @@ spring: druid: db-type: com.alibaba.druid.pool.DruidDataSource driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy - url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:nl5_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true + url: jdbc:log4jdbc:mysql://${DB_HOST:172.30.15.231}:${DB_PORT:3306}/${DB_NAME:nl5_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true username: ${DB_USER:root} password: ${DB_PWD:123456} # 初始连接数 diff --git a/acs/nladmin-system/src/main/resources/config/application.yml b/acs/nladmin-system/src/main/resources/config/application.yml index 7e3fbea..a4d00ab 100644 --- a/acs/nladmin-system/src/main/resources/config/application.yml +++ b/acs/nladmin-system/src/main/resources/config/application.yml @@ -2,7 +2,7 @@ spring: freemarker: check-template-location: false profiles: - active: dev + active: prod jackson: time-zone: GMT+8 data: