tujidelv 2 jaren geleden
bovenliggende
commit
8ec26c236e
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/main/java/top/lvzhiqiang/service/impl/BgServiceImpl.java

+ 1 - 1
src/main/java/top/lvzhiqiang/service/impl/BgServiceImpl.java

@@ -774,7 +774,7 @@ public class BgServiceImpl implements BgService {
         // 图片URL bigImage
         String bubingCover = bubings.concat("/cover/");
 
-        String fileName = issueDate.concat(" ").concat(videoInfoInfantry.getIdentificationCode()).concat(" ").concat(videoInfoInfantry.getName()).replace("?", "?");
+        String fileName = issueDate.concat(" ").concat(videoInfoInfantry.getIdentificationCode()).concat(" ").concat(videoInfoInfantry.getName()).replace("?", "?").replace("#","");
         byte[] imgUrlBytes = fileName.getBytes(StandardCharsets.UTF_8);
         if (imgUrlBytes.length > 251) {
             byte[] imgUrlDestBytes = new byte[251];