// +---------------------------------------------------------------------- namespace app\services\article; use app\dao\article\ArticleContentDao; use app\services\BaseServices; /** * 文章内容 * Class ArticleContentServices * @package app\services\article * @mixin ArticleContentDao */ class ArticleContentServices extends BaseServices { /** * ArticleContentServices constructor. * @param ArticleContentDao $dao */ public function __construct(ArticleContentDao $dao) { $this->dao = $dao; } /** * 删除 * @param int $id * @return bool */ public function del(int $id) { return $this->dao->del($id); } }