管理功能升级

This commit is contained in:
2016-06-27 17:53:01 +08:00
parent 81b6167106
commit 028187797d
15 changed files with 453 additions and 136 deletions

View File

@@ -60,7 +60,7 @@ class Model extends Admin{
* @author huajie <banhuajie@163.com>
*/
public function edit() {
$id = input('get.id', '');
$id = input('id', '', 'trim,intval');
if (empty($id)) {
return $this->error('参数不能为空!');
}