feat: 新增文章评论分页列表接口

This commit is contained in:
2025-01-15 17:56:39 +08:00
parent 110e997423
commit 83c4ae38fc
4 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
use think\Model;
/**
* @mixin \think\Model
*/
class ArticleLeaveMessageBaseModel extends Model
{
// 表名
protected $name = 'article_leave_message';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'article_id' => 'int',
'name' => 'string',
'email' => 'string',
'content' => 'string',
'ip' => 'string',
'user_agent' => 'string',
'is_audited' => 'int',
'created_at' => 'datetime',
];
}