/** * 清空工单队列 */ public function actionUserClearOrder() { $userId = Tools::coerceInt($_GET['user_id']); //用户名 $this->_modelWorkOrder = $this->_getGlobalData('Model_WorkOrder', 'object'); $data = $this->_modelWorkOrder->clearOrder($userId); $this->_utilMsg->showMsg($data['msg'], $data['status'], $data['href']); }