mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
完成评论统计
This commit is contained in:
@@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace app\admin\controller;
|
||||
|
||||
use app\model\PostComment as ModelPostComment;
|
||||
use think\facade\Cache;
|
||||
use think\facade\View;
|
||||
use think\Request;
|
||||
|
||||
@@ -96,6 +97,8 @@ class PostComment extends Common
|
||||
|
||||
ModelPostComment::destroy($id);
|
||||
|
||||
ModelPostComment::clearCountCache();
|
||||
|
||||
return json_message();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user