/** * 删除精选计划 */ public function do_delete() { $result = Bll_Plan_Bid_EsfWebChoiceOperation::delete_plan($this->params['planId'], $this->params['brokerId']); if ($result['status'] == 'ok') { $this->outPut(1, '删除计划成功'); } else { $this->outPut(0, '删除计划失败'); } }
/** * 删除计划 */ private function do_esf_delete_plan($params) { $planId = $params['planid']; $brokerId = APF::get_instance()->get_request()->getBrokerId(); return Bll_Plan_Bid_EsfWebChoiceOperation::delete_plan($planId, $brokerId); }