$clear++; } else { $unclear++; } } json("操作成功,清空缓存文件{$clear}个,未清空{$unclear}个", 'alert'); } elseif ('teamauditno' == $action) { need_auth('team'); $team = Table::Fetch('team', $id); ZTeam::AuditTeam($id, 0); Session::Set('notice', "团购 {$id} 取消审核成功!"); json(null, 'refresh'); } elseif ('teamaudityes' == $action) { need_auth('team'); $team = Table::Fetch('team', $id); ZTeam::AuditTeam($id, 1); Session::Set('notice', "团购 {$id} 审核成功!"); json(null, 'refresh'); } elseif ('partnerauthenticateyes' == $action) { $partner = Table::Fetch('partner', $id); $auth = $partner['authenticate'] == 0 ? 1 : 0; Table::UpdateCache('partner', $id, array('authenticate' => $auth)); $tip = $auth ? '设置商户认证成功' : '取消商户认证成功'; Session::Set('notice', $tip); json(null, 'refresh'); } else { if ('changenownumber' == $action) { $team = Table::Fetch('team', $id); $html = render('manage_ajax_dialog_changenownumber'); json($html, 'dialog'); } else {