Browse Source

青爻公众号

cqp 10 months ago
parent
commit
14b309121c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Service/Weixin/WeixinService.php

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

@@ -446,7 +446,7 @@ class WeixinService extends Service
                 return [true, ''];
             }catch (\Throwable $exception){
                 DB::rollBack();
-                return [false, $exception->getMessage()];
+                return [false, $exception->getMessage() . '|' . $exception->getLine() . '|' . $exception->getFile()];
             }
         }
 
@@ -478,7 +478,7 @@ class WeixinService extends Service
             file_put_contents($localFilePath, $content);
         }
 
-        return [true, $img ?? []];
+        return $img ?? [];
     }
 
     public function dealContent($content){