mirror of
https://github.com/likeshop-github/likeshop.git
synced 2025-09-07 13:24:24 +08:00
修改文章删除
This commit is contained in:
parent
6ee24a2836
commit
cb0b575c20
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ class ArticleLogic
|
|||
$article = new Article();
|
||||
|
||||
$data = [
|
||||
'del' => time(),
|
||||
'update_time' => 1
|
||||
'del' => 1,
|
||||
'update_time' => time()
|
||||
];
|
||||
return $article->save($data, ['id' => $id, 'del' => 0]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue