mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
完成评论统计
This commit is contained in:
@@ -58,12 +58,15 @@ class PostComment extends Common
|
||||
}
|
||||
|
||||
$post_data['type'] = 3;
|
||||
|
||||
|
||||
|
||||
$post_data['user_uid'] = $user_uid;
|
||||
|
||||
ModelPostComment::create($post_data);
|
||||
|
||||
ModelPostComment::clearCountCache();
|
||||
|
||||
|
||||
return json_message();
|
||||
}
|
||||
|
||||
@@ -113,6 +116,8 @@ class PostComment extends Common
|
||||
|
||||
ModelPostComment::destroy($id);
|
||||
|
||||
ModelPostComment::clearCountCache();
|
||||
|
||||
return json_message();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user