public function handle_request_internal() { $brokerId_ajk = (int) $this->_params['brokerId']; $planId = (int) $this->_params['planId']; $amount = $this->_params['ceiling']; if (!($amount >= 10 && $amount <= 1000)) { return Util_MobileAPI::error(Const_APIStatus::E_PLAN_PARAM_ERR); } //根据安居客经纪人ID获取好租经纪人ID $brokerId_hz = Bll_HzBroker::get_brokerid_by_ajk_brokerid($brokerId_ajk); $result = Bll_HzFixPlan::change_fix_budget($brokerId_hz, $planId, $amount); if ($result['status'] == 1) { $return = array(); $return["status"] = "ok"; $return['data'] = array(); } else { return Util_MobileAPI::error(Const_APIStatus::E_PLAN_ERR_3013); } return $return; }