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