Ver Fonte

wesmiler

wesmiler há 1 semana atrás
pai
commit
66e8530251
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Services/Api/PaperService.php

+ 1 - 1
app/Services/Api/PaperService.php

@@ -278,7 +278,7 @@ class PaperService extends BaseService
         $type = isset($params['type']) ? intval($params['type']) : 1;
         $isError = isset($params['is_error']) ? intval($params['is_error']) : 0;
         $sc = isset($params['sc']) ? intval($params['sc']) : 0;
-        $cacheKey = "caches:paper:info_{$userId}:p{$paperId}_t{$tid}_r{$rid}_l{$lid}_{$sc}";
+        $cacheKey = "caches:paper:info_{$userId}:p{$paperId}_t{$tid}_r{$rid}_l{$lid}_{$sc}_{$isError}";
         $info = RedisService::get($cacheKey);
         if ($info) {
             return $info;