Преглед на файлове

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);
     }