|
@@ -161,6 +161,9 @@ class PostRepositories
|
|
|
|
|
|
DB::commit();
|
|
|
Redis::zadd('post_trigger_type', $isValid, $post->id);
|
|
|
+ foreach($topicIds as $id){
|
|
|
+ Redis::zincrby('topic.user_uid'.$userInfo['uid'], 1, $id);
|
|
|
+ }
|
|
|
return jsonSuccess();
|
|
|
|
|
|
}catch (QueryException $exception){
|