Explorar el Código

青爻公众号

cqp hace 10 meses
padre
commit
a5196c4605
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Service/Weixin/WeixinService.php

+ 1 - 1
app/Service/Weixin/WeixinService.php

@@ -517,7 +517,7 @@ class WeixinService extends Service
 
                 // 构建完整的 data-src 属性
                 $oldDataSrc = 'data-src="' . $url . '"';
-                $newDataSrc = 'data-src="' . $newImageUrl . '"';
+                $newDataSrc = 'src="' . $newImageUrl . '"';
 
                 // 替换
                 $content = str_replace($oldDataSrc, $newDataSrc, $content);