wzq 5 年 前
コミット
4b664aaa07
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  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);