更新
This commit is contained in:
@@ -12,7 +12,7 @@ namespace app\model;
|
||||
/**
|
||||
* 设置模型
|
||||
*/
|
||||
class Category {
|
||||
class Category extends \think\Model{
|
||||
|
||||
protected $name = "Category";
|
||||
protected $auto = array('update_time', 'status' => 1);
|
||||
|
||||
Reference in New Issue
Block a user