更新代码

This commit is contained in:
2025-05-19 17:34:40 +08:00
parent 1587524031
commit 7bd072add9
32 changed files with 1465 additions and 139 deletions
-13
View File
@@ -1,13 +0,0 @@
<?php
namespace app\admin\model\Article;
use think\Model;
class Article extends Model
{
// 设置当前模型对应的数据表名称(不含前缀)
protected $name = 'article';
// 设置主键
protected $pk = 'id';
}
@@ -1,13 +0,0 @@
<?php
namespace app\admin\model\Article;
use think\Model;
class ArticleCategory extends Model
{
// 设置当前模型对应的数据表名称(不含前缀)
protected $name = 'article_category';
// 设置主键
protected $pk = 'id';
}
+8
View File
@@ -0,0 +1,8 @@
<?php
namespace app\admin\model\Article;
use think\Model;
class Articles extends Model
{
}
@@ -0,0 +1,8 @@
<?php
namespace app\admin\model\Article;
use think\Model;
class ArticlesCategory extends Model
{
}