企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### c\_deletes **批量删除对象** ~~~ function c_deletes() { //$this->permDelCheck (); $message = ""; try { $this->service->deletes_d ( $_GET ['id'] ); $message = '删除成功!'; } catch ( Exception $e ) { $message = '删除失败,该对象可能已经被引用!'; } if (isset ( $_GET ['url'] )) { $event = "document.location='" . iconv ( 'utf-8', 'gb2312', $_GET ['url'] ) . "'"; showmsg ( $message, $event, 'button' ); } else if (isset ( $_SERVER [HTTP_REFERER] )) { $event = "document.location='" . $_SERVER [HTTP_REFERER] . "'"; showmsg ( $message, $event, 'button' ); } else { $this->c_page (); } //msg('删除成功!'); } ~~~