This commit is contained in:
2020-02-18 10:15:02 +08:00
parent 5fb45fc57c
commit d4325e3016
18 changed files with 194 additions and 159 deletions

View File

@@ -12,7 +12,7 @@ namespace app\model;
/**
* 设置模型
*/
class Category {
class Category extends \think\Model{
protected $name = "Category";
protected $auto = array('update_time', 'status' => 1);