function active($filter) { $rs = parent::active($filter); if ($rs) { foreach ($filter['order_id'] as $oid) { $this->_info['order_id'] = $oid; $this->addLog(__('订单还原'), $this->op_id ? $this->op_id : null, $this->op_name ? $this->op_name : null, __('还原')); } } return $rs; }