mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
新增代码高亮,完善文章浏览体验
This commit is contained in:
@@ -53,7 +53,7 @@ class Post extends Common
|
||||
|
||||
$model_post = ModelPost::find($id);
|
||||
|
||||
$model_post->hits + 1;
|
||||
$model_post->hits = $model_post->hits + 1;
|
||||
|
||||
$model_post->save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user