lists($page,$size,$name,$this->orgId); HelpHander::success($ret); } // 新增 public function save(){ model('AttendanceGroup')->add(); HelpHander::success([],'操作成功'); } // 编辑 public function update(){ model('AttendanceGroup')->add(); HelpHander::success([],'操作成功'); } // 删除 public function del(){ $id = input('id/d',0); model('AttendanceGroup')->del($id); HelpHander::success([],'操作成功'); } // 详情 public function detail(){ $id = input('id/d',0); $ret = model('AttendanceGroup')->info($id); HelpHander::success($ret); } }