/** * 设置模版/套餐 */ public function do_setBrokerLimitTemp() { $startTime = strtotime(date('Ymd 00:00:00', strtotime('+1 day'))); //明天 $result = Bll_Broker_BrokerLimit::setPpcBrokerLimitTemp($this->brokerId, $this->params['tempId'], $startTime, Bll_Broker_BrokerLimit::PPC_BROKER_LIMIT_ZF_SITE); $this->outPut($result ? 1 : 0, $result ? 'success' : 'error'); }