|
@@ -49,7 +49,7 @@ class TopicUseCount extends Command
|
|
|
try{
|
|
|
$value = Redis::ZSCORE($key, $topicId);
|
|
|
Redis::ZREM ($key, $topicId);
|
|
|
- $this->topic->where('id', $topicId)->increment('use_bean', $value);
|
|
|
+ $this->topic->where('id', $topicId)->increment('use_count', $value);
|
|
|
Log::debug('更新更新话题使用数成功'.$topicId.'-'.$value);
|
|
|
}catch (\Exception $exception){
|
|
|
Log::error('更新更新话题使用数失败'.$topicId.'-'.$val.$exception->getMessage());
|