wzq %!s(int64=5) %!d(string=hai) anos
pai
achega
4b664aaa07
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);