model = new UserteamLogModel(); } /** * @NodeAnotation(title="列表") */ public function index () { if ($this->request->isAjax()) { // } list($page, $limit, $where) = $this->buildTableParames(); list($count, $list) = UserteamLogLogic::getList($page, $limit, $where, $this->sort); $data = [ 'code' => 0, 'msg' => '', 'count' => $count, 'data' => $list, ]; return json($data); } return $this->fetch(); } }