Explorar o código

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

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