Commit 8b14acaf authored by chenchuanwen's avatar chenchuanwen

invateTest

parent c8e4d4a0
......@@ -105,7 +105,14 @@ class IndexController extends \Our\Controller_Abstract {
}
exit;
}
public function getInvateHtmlAction(){
$req=$this->getRequest()->getQuery();
if(empty($req['name'] || empty($req['qrcodeUrl'] || empty($req['telephone'])))){
echo 'error';exit;
}
$this->_view->assign("params", $req);
}
public function testPushAction(){
$clientPush=\JPush\ClientPush::getInstance();
$clientPush->pushTest(array());
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<?php
echo json_encode($params);
?>
</body>
</html>
\ No newline at end of file
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