开始内容管理

This commit is contained in:
augushong
2020-04-17 23:33:01 +08:00
parent b1a7d686f9
commit dc15576de8
16 changed files with 776 additions and 3 deletions

20
app/model/Post.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace app\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
* @mixin think\Model
*/
class Post extends Model
{
//
use SoftDelete;
protected $defaultSoftDelete = 0;
}