tujidelv 2 anni fa
parent
commit
8ec26c236e

+ 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];