Commit 309b5f19 authored by chenchuanwen's avatar chenchuanwen

invateTest

parent 34c21e69
...@@ -107,10 +107,12 @@ class IndexController extends \Our\Controller_Abstract { ...@@ -107,10 +107,12 @@ class IndexController extends \Our\Controller_Abstract {
} }
public function getInvateHtmlAction(){ public function getInvateHtmlAction(){
$req=$this->getRequest()->getQuery(); $req=$this->getRequest()->getQuery();
if(empty($req['name'] || empty($req['qrcodeUrl'] || empty($req['telephone'])))){ if(empty($req['params'] )){
echo 'error';exit; echo 'error';exit;
} }
$this->_view->assign("params", $req); $params=base64_decode($req['params']);
$params=explode('&',$params);
$this->_view->assign("params", $params);
} }
public function testPushAction(){ public function testPushAction(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment