- 按 docs/renew-code-comment.md 将 PHP 文件头改为带边框的 Author 注释\n- 注释中的 crmeb.com 替换为 uj345.cn(代码字符串中的外链未改)\n- 新增 docs/renew-code-comment.md 说明 Made-with: Cursor
36 lines
742 B
PHP
36 lines
742 B
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Author: ScottPan Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
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);
|
|
}
|
|
}
|