Bladeren bron

文件预览地址修改

tags/24080901
WendyYang 5 maanden geleden
bovenliggende
commit
d052eb0e9e
3 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  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 Bestand weergeven

@@ -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 Bestand weergeven

@@ -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 Bestand weergeven

@@ -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


Laden…
Annuleren
Opslaan