function _pageErrorHandler($errno, $errstr, $errfile, $errline) { if ($errstr == '0x015') { // 取消所有与supplier 相关的同步任务 $this->_cancelTask($_REQUEST['supplier_id']); if ($_REQUEST['act'] != 'index' && $_REQUEST['act'] != 'supplierList') { $this->_err_process('供应商:' . $_REQUEST['supplier_id'] . '服务暂时不可用', 'page', 'index.php?ctl=distribution/supplier&act=index'); } } parent::_pageErrorHandler($errno, $errstr, $errfile, $errline); }