Jelajahi Sumber

青爻公众号

cqp 10 bulan lalu
induk
melakukan
fee346faa3
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      app/Service/Weixin/WeixinService.php

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

@@ -487,7 +487,7 @@ class WeixinService extends Service
         return $img ?? [];
     }
 
-    public function dealContent($content){
+    public function dealContent1($content){
         // 正则表达式匹配 data-src 属性
         $pattern = '/data-src="([^"]+)"/';
 
@@ -497,7 +497,7 @@ class WeixinService extends Service
         return [$replacedString, []];
     }
 
-    public function dealContent1($content){
+    public function dealContent($content){
         // 正则表达式匹配 data-src 属性
         $pattern = '/data-src="([^"]+)"/';