root 3 жил өмнө
parent
commit
59abaa369b

+ 2 - 0
common/helpers/bonus/CalcCache.php

@@ -779,6 +779,8 @@ class CalcCache {
      * @throws \yii\db\Exception
      */
     public static function userPerf($userId, $periodNum) {
+        $value = UserPerf::getOneUserPerf($userId);
+        return $value;
         $cacheKey = self::REDIS_KEY_PREFIX_USER_PERF . $periodNum;
         $field = $userId;
         $cacheValue = \Yii::$app->redis->hget($cacheKey, $field);