Selaa lähdekoodia

青爻公众号

cqp 10 kuukautta sitten
vanhempi
sitoutus
fee346faa3
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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="([^"]+)"/';