yangsai@163.com 6 months ago
parent dd61e6e0bb
commit cc819f6f2d
  1. 2
      application/controllers/Admin/Squirrel.php

@ -1,7 +1,7 @@
<?php <?php
class Admin_SquirrelController extends Ctrl_Admin{ class Admin_SquirrelController extends Ctrl_Admin{
public function getlistAction(){ public function getlistAction(){
$SquirrelModel = new SquirrelSetModel(); $SquirrelModel = new SquirrelModel();
$data['items'] = $SquirrelModel->field("*")->fList(); $data['items'] = $SquirrelModel->field("*")->fList();
$data['total'] = count($data['items']); $data['total'] = count($data['items']);
Tool_Fnc::apiMsg('获取成功',20000,$data); Tool_Fnc::apiMsg('获取成功',20000,$data);

Loading…
Cancel
Save