ソースを参照

Merge branch 'develop' of http://git.caihongxingqiu.net/rainbow/config-service into develop

xielin 5 年 前
コミット
e0cdb35f06
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      app/Repositories/PosterRepository.php

+ 1 - 1
app/Repositories/PosterRepository.php

@@ -226,7 +226,7 @@ class PosterRepository
         Storage::put($filename, (string)$main->encode('jpg'));
         $url = 'http://oss.caihongxingqiu.net/'.$filename;
         Redis::set($key, $url);
-//        Redis::expire($key, 3600 * 24 * 3);
+        Redis::expire($key, 3600 * 24 * 3);
 
         return jsonSuccess($url);
     }