Browse Source

邀请海报

wzq 5 years ago
parent
commit
4b664aaa07
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Repositories/PosterRepository.php

+ 2 - 2
app/Repositories/PosterRepository.php

@@ -141,7 +141,7 @@ class PosterRepository
         // 存储图片
         $filename = date('Ym').'/'.time() . '_' . uniqid() . '.jpg';
         Storage::put($filename, (string)$main->encode('jpg'));
-        $url = 'http://oss.caihongxingqiu.net/'.$filename;
+        $url = 'http://oss.uptoyo.com/'.$filename;
         Redis::set($key, $url);
         Redis::expire($key, 3600 * 24 * 3);
 
@@ -224,7 +224,7 @@ class PosterRepository
         // 存储图片
         $filename = date('Ym').'/'.time() . '_' . uniqid() . '.jpg';
         Storage::put($filename, (string)$main->encode('jpg'));
-        $url = 'http://oss.caihongxingqiu.net/'.$filename;
+        $url = 'http://oss.uptoyo.com/'.$filename;
         Redis::set($key, $url);
         Redis::expire($key, 3600 * 24 * 3);