tujidelv преди 2 години
родител
ревизия
8ec26c236e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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];