public function handle_request_internal() { $request = APF::get_instance()->get_request(); $response = APF::get_instance()->get_response(); $brokerId = $request->getBrokerId(); $clintHelper = Bll_Broker::getWorkerNumInfo($brokerId); $params = $this->getParameters(); if (!isset($params['err_no']) || empty($params['err_no'])) { $params['err_no'] = Bll_Plan_Bid_Choice::BID_FAIL_OTHER; } if ($params['err_no'] == Bll_Plan_Bid_Choice::BID_FAIL_OTHER && (!isset($params['err_msg']) || empty($params['err_msg']))) { $params['err_msg'] = '未知错误'; } $basicUrl = Util_Url::buildMyBasicUrl(); //新跳转页面 $specialRedirectUrl = $params['specialRedirectUrl']; $request->set_attribute('specialRedirectUrl', $specialRedirectUrl); $request->set_attribute('clintHelper', $clintHelper); $request->set_attribute('act', $params['act']); $request->set_attribute('err_msg', $params['err_msg']); $request->set_attribute('from', $params['from']); $request->set_attribute('err_no', $params['err_no']); $request->set_attribute('rank', $params['rank']); $request->set_attribute('params', $params['params']); $request->set_attribute('basicUrl', $basicUrl); $request->set_attribute('propId', $params['propId']); return "Choice_Result"; }
/** * 拼接分页按钮URL * @param array $p_arrParameters * @param string $p_strExtendURL * @return string */ static function getUrlString($p_arrParameters = array(), $p_strExtendURL = 'combo/account/accountlog') { $p_strExtendURL = ltrim($p_strExtendURL, "/"); return Util_Url::buildMyBasicUrl() . $p_strExtendURL . APF_Util_StringUtils::encode_seo_parameters($p_arrParameters); }
/** * 拼接分页按钮URL * @param array $p_arrParameters * @param string $p_strExtendURL * @return string */ static function getUrlString($p_arrParameters = array(), $p_strExtendURL = 'user/yuanbao/search/') { $p_strExtendURL = ltrim($p_strExtendURL, "/"); return Util_Url::buildMyBasicUrl() . $p_strExtendURL . APF_Util_StringUtils::encode_seo_parameters($p_arrParameters); }