private $db;
private $content_model;
public function __construct() {
	parent::__construct ();
	$this->content_model = pc_base::load_model('content_model');
	$this->siteid = 1;
}


public function add(){
    $info['title']='标题';
    $info['description']='摘要';
    $info['content']='内容';
    $info['thumb']='缩略图';
    $info['catid']=$catid;
    $retid=$this->content_model->add_content($info);
}

 

相关文章:

  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-02-17
  • 2021-12-20
  • 2021-10-01
相关资源
相似解决方案