wzq 5 anni fa
parent
commit
4b664aaa07
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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);