|
@@ -42,7 +42,7 @@ public class SignPfxFilePreServiceImpl implements ISignPfxFilePreService {
|
|
|
private SignPfxFilePreMapper signPfxFilePreMapper;
|
|
|
|
|
|
private final String excelTabFileUrl = "https://blade-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20240731/cf9534fd3ac688df5f9d7a802ba754c0.xlsx";
|
|
|
- private final String wbsHtmlUrl = "/www/wwwroot/Users/hongchuangyanfa/Desktop/privateUrl/1771066158930198528.html";
|
|
|
+ private final String wbsHtmlUrl = "privateUrl/1771066158930198528.html";
|
|
|
@Autowired
|
|
|
private BeanUtil beanUtil;
|
|
|
|
|
@@ -121,8 +121,9 @@ public class SignPfxFilePreServiceImpl implements ISignPfxFilePreService {
|
|
|
Sheet sheet = workbook.getSheetAt(0);
|
|
|
sheet.setForceFormulaRecalculation(true);
|
|
|
List<String> sign = new ArrayList<>();
|
|
|
- if (StringUtils.isNotEmpty(wbsHtmlUrl)) {
|
|
|
- InputStream inputStreamByUrl = FileUtils.getInputStreamByUrl(wbsHtmlUrl);
|
|
|
+ String wbsHtmlUrlNow = file_path+wbsHtmlUrl;
|
|
|
+ if (StringUtils.isNotEmpty(wbsHtmlUrlNow)) {
|
|
|
+ InputStream inputStreamByUrl = FileUtils.getInputStreamByUrl(wbsHtmlUrlNow);
|
|
|
String htmlString = IoUtil.readToString(inputStreamByUrl);
|
|
|
Document doc = Jsoup.parse(htmlString);
|
|
|
Element table = doc.select("table").first();
|