wesmiler 1 vecka sedan
förälder
incheckning
66e8530251
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;
         $type = isset($params['type']) ? intval($params['type']) : 1;
         $isError = isset($params['is_error']) ? intval($params['is_error']) : 0;
         $isError = isset($params['is_error']) ? intval($params['is_error']) : 0;
         $sc = isset($params['sc']) ? intval($params['sc']) : 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);
         $info = RedisService::get($cacheKey);
         if ($info) {
         if ($info) {
             return $info;
             return $info;