You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.2 KiB
72 lines
1.2 KiB
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: Administrator
|
|
* Date: 2018/3/23
|
|
* Time: 15:47
|
|
*/
|
|
|
|
namespace app\admin\controller;
|
|
|
|
|
|
class Ypnew extends News
|
|
{
|
|
public function _initialize()
|
|
{
|
|
$this->table_name='zgwhjf_ypnew';
|
|
$this->controller_name='Ypnew';
|
|
$this->has_img=false;
|
|
$this->has_imgs=false;
|
|
$this->has_source=false;
|
|
parent::_initialize();
|
|
}
|
|
/**
|
|
* 列表
|
|
*/
|
|
public function zgwhjf_ypnew_list()
|
|
{
|
|
return $this->news_list();
|
|
}
|
|
/**
|
|
* 添加显示
|
|
*/
|
|
public function zgwhjf_ypnew_add()
|
|
{
|
|
return $this->news_add();
|
|
}
|
|
/**
|
|
* 编辑显示
|
|
*/
|
|
public function zgwhjf_ypnew_edit()
|
|
{
|
|
return $this->news_edit();
|
|
}
|
|
/**
|
|
* 排序
|
|
*/
|
|
public function zgwhjf_ypnew_order()
|
|
{
|
|
return $this->news_order();
|
|
}
|
|
/**
|
|
* 删除(单个)
|
|
*/
|
|
public function zgwhjf_ypnew_del()
|
|
{
|
|
return $this->news_del();
|
|
}
|
|
/**
|
|
* 删除(全选)
|
|
*/
|
|
public function zgwhjf_ypnew_alldel()
|
|
{
|
|
return $this->news_alldel();
|
|
}
|
|
/**
|
|
* 审核/取消审核
|
|
*/
|
|
public function zgwhjf_ypnew_state()
|
|
{
|
|
return $this->news_state();
|
|
}
|
|
}
|