中交建大象V6返回文件流

beta
kk 2 years ago
parent 11b6d6a002
commit ed85fa167c
  1. 3
      jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ServiceImpl.java

@ -523,7 +523,8 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService {
debugLog("断点12", uuid, timestamp); debugLog("断点12", uuid, timestamp);
// 上传文件到oss // 上传文件到oss
String defaultStorage = configService.selectConfigByKey("default_storage"); String defaultStorage = configService.selectConfigByKey("default_storage");
// TODO: 2023/10/23 中交建暂时关闭 // 2023/11/16 kk:上传OSS转下载地址关闭,改为直接返回大象的文件流
invoice.setInvoicePdfUrl(ddfpxx.getPDFZJL());
/*if (StringUtils.isNotEmpty(defaultStorage) && StringUtils.isEmpty(invoice.getInvoicePdfUrl())) { /*if (StringUtils.isNotEmpty(defaultStorage) && StringUtils.isEmpty(invoice.getInvoicePdfUrl())) {
try { try {
IStorageService service = storageFactory.getStorageInstance(defaultStorage); IStorageService service = storageFactory.getStorageInstance(defaultStorage);

Loading…
Cancel
Save