2026-03-21 02:55:24 +08:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
// | Author: ScottPan Team
|
2026-03-21 02:55:24 +08:00
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
namespace app\services\article;
|
|
|
|
|
|
|
|
|
|
use app\dao\article\ArticleContentDao;
|
|
|
|
|
use app\services\BaseServices;
|
|
|
|
|
use think\annotation\Inject;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文章内容
|
|
|
|
|
* Class ArticleContentServices
|
|
|
|
|
* @package app\services\article
|
|
|
|
|
* @mixin ArticleContentDao
|
|
|
|
|
*/
|
|
|
|
|
class ArticleContentServices extends BaseServices
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @var ArticleContentDao
|
|
|
|
|
*/
|
|
|
|
|
#[Inject]
|
|
|
|
|
protected ArticleContentDao $dao;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除
|
|
|
|
|
* @param int $id
|
|
|
|
|
* @return bool
|
|
|
|
|
*/
|
|
|
|
|
public function del(int $id)
|
|
|
|
|
{
|
|
|
|
|
return $this->dao->del($id);
|
|
|
|
|
}
|
|
|
|
|
}
|