master
parent
27b78813e6
commit
dd61e6e0bb
@ -0,0 +1,9 @@ |
||||
<?php |
||||
class Admin_SquirrelController extends Ctrl_Admin{ |
||||
public function getlistAction(){ |
||||
$SquirrelModel = new SquirrelSetModel(); |
||||
$data['items'] = $SquirrelModel->field("*")->fList(); |
||||
$data['total'] = count($data['items']); |
||||
Tool_Fnc::apiMsg('获取成功',20000,$data); |
||||
} |
||||
} |
Loading…
Reference in new issue