修改问题

This commit is contained in:
augushong
2020-08-12 23:07:51 +08:00
parent 250011808a
commit 0ad0f54f9a
5 changed files with 24 additions and 4 deletions

View File

@@ -53,7 +53,9 @@ class Post extends Common
$model_post = ModelPost::find($id);
$model_post
$model_post->hits + 1;
$model_post->save();
View::assign('post', $model_post);