public function docreditAction() { $credits = $this->getInput('credits', 'post'); $newcredits = $this->getInput('newcredits', 'post'); Wind::import('WINDID:service.config.srv.WindidCreditSetService'); $srv = new WindidCreditSetService(); $srv->setCredits($credits, $newcredits); $this->showMessage('WINDID:success'); }
public function docreditAction() { $credits = $this->getInput('credits', 'post'); $newcredits = $this->getInput('newcredits', 'post'); Wind::import('WSRV:config.srv.WindidCreditSetService'); $srv = new WindidCreditSetService(); $srv->setCredits($credits, $newcredits); $srv2 = Wekit::load('WSRV:notify.srv.WindidNotifyService'); $srv2->send('setCredits', array()); $this->showMessage('WINDID:success'); }