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,9 @@ class Post extends Common
|
||||
|
||||
$model_post = ModelPost::find($id);
|
||||
|
||||
$model_post
|
||||
$model_post->hits + 1;
|
||||
|
||||
$model_post->save();
|
||||
|
||||
View::assign('post', $model_post);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user