Преглед на файлове

文件预览地址修改

tags/24080901
WendyYang преди 5 месеца
родител
ревизия
d052eb0e9e
променени са 3 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/external/FilePreviewClient.java
  2. +2
    -0
      hz-pm-api/src/main/resources/application-dev.yml
  3. +3
    -0
      hz-pm-api/src/main/resources/application-prod.yml

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/external/FilePreviewClient.java Целия файл

@@ -26,7 +26,7 @@ public class FilePreviewClient {

private static final Logger log = LoggerFactory.getLogger(FilePreviewClient.class);

@Value("${mh.file-preview.host:http://ztzz2.hzswb.cn/yl}")
@Value("${mh.file-preview.host}")
private String mhFilePreviewUrl;

private final FileService fileService;


+ 2
- 0
hz-pm-api/src/main/resources/application-dev.yml Целия файл

@@ -188,6 +188,8 @@ mh:
down-url: https://weixin.hzszxc.hzswb.cn:8443/test/mh-gateway/oss/oss/previewFileLogin
detail-url: https://weixin.hzszxc.hzswb.cn:8443/test/mh-gateway/oss/ossfile/getFileInfoList
upload-url: https://weixin.hzszxc.hzswb.cn:8443/test/mh-gateway/oss/oss/uploadFileSkipLogin
file-preview:
host: http://ztzz2.hzswb.cn/yl

auth-code:
secret-key: nqkmzqojg5j4eiypr3rb8s7nb4noa8b2


+ 3
- 0
hz-pm-api/src/main/resources/application-prod.yml Целия файл

@@ -198,6 +198,9 @@ mh:
upload-url: http://10.54.38.13:8081/mh-gateway/oss/oss/uploadFileSkipLogin
purchase-notice:
open: false
file-preview:
# host: http://ztzz2.hzswb.cn/yl
host: http://172.18.43.208/yl

sms-send:
host: http://10.54.38.13:8081/mh-gateway/auth-single


Loading…
Отказ
Запис