鼠笼管理系统
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.
 
 
 
 

26 lines
422 B

<?php
/**
* 管理类
*/
class Ctrl_Admin extends Ctrl_Base {
# 管理员
protected $_auth = 5;
/**
* Ajax 保存字段
*/
public function ajaxsaveAction($table) {
if ('POST' == $_SERVER['REQUEST_METHOD']) {
$this->_table2obj($table);
$table->update($_POST);
}
exit;
}
/**
* 删除记录
*/
public function delAction($table, $id) {
$this->_del($table, $id);
}
}