orderPrintService = Zc::singleton('OrderPrintService'); } public function render($data = array()) { $mallId = $_SESSION[SessionConst::mallId]; $subAccountId = $_SESSION[SessionConst::mallSubAccountId] ?: 0; if (empty($data['opSetting'])) { $data['opSetting'] = $this->orderPrintService->getUserOpSetting($mallId); } if (empty($data['opPageSetting'])) { $data['opPageSetting'] = $this->orderPrintService->getUserOpPageSetting($mallId, $subAccountId); } return $this->renderFile('order/order_list_column_setting', $data); } }