Commit fa331d91 authored by lingqingmei's avatar lingqingmei

Merge branch 'ccw' of http://git.shenbd.com/api-project-dev/api.shenbd.com into master_dev

parents 4e704e36 6bfacf69
......@@ -105,7 +105,16 @@ class IndexController extends \Our\Controller_Abstract {
}
exit;
}
public function getInvateHtmlAction(){
$req=$this->getRequest()->getQuery();
if(empty($req['params'] )){
echo 'error';exit;
}
$params=base64_decode($req['params']);
$params=\Our\Common::paramToJson($params);
$this->_view->assign("params", $params);
}
public function testPushAction(){
$clientPush=\JPush\ClientPush::getInstance();
$clientPush->pushTest(array());
......
......@@ -334,6 +334,15 @@ public static function convertArrKey($arr, $key_name)
json_decode($string);
return (json_last_error() == JSON_ERROR_NONE);
}
public static function paramToJson($param)
{
$array = array();
$paramArrs = explode('&', $param);
foreach ($paramArrs as $paramArr) {
$array[strstr($paramArr, '=', true)] = substr(strstr($paramArr, '='), 1);
}
return $array;
}
/**
* sql字符串格式化
......
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>我的身边店 - 您身边的品牌 服务品牌的你</title>
<meta name="description" content="【我的身边店】互联网平台助力实体店升级,为实体店逐渐优化成“实体+智能”于一体的“数字店铺”提供技术支持,助力服务创新,适应用户购买方式的改变,助力实体,让商业回归本源!">
<meta name="keywords" content="我的身边店,我的,身边,店,身边店,的身边店,品牌,诚信,配送,近距离,线下支付,到店自提,货到付款,区域,独家,周边,坐等,在身边,可信赖,易追溯,异业,导流,推广,代理商,配送员,推广者,商家提供各类服饰,美容,家居,数码,销售家电,数码通讯,电脑,家居百货,服装服饰,母婴,图书,食品">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link type="image/x-icon" rel="icon" href="//static.shenbd.com/lib/img/favicon-hd.ico" />
<link type="image/x-icon" rel="shortcut icon" href="//static.shenbd.com/lib/img/favicon.ico" />
<style>
body,blockquote,h1,h2,h3,h4,h5,h6,p,pre,dd,form,figure{margin:0}
legend{padding:0}
menu,ol,ul,dl,fieldset,input,textarea{margin:0;padding:0}
audio,video,canvas{*display:inline;*zoom:1}
:link,:visited{text-decoration:none}
[hidden],template{display:none}
a{text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}
img{border-style:none;vertical-align:middle}
@font-face {
font-family: rzyzkxk;
src: url('/data/fonts/fonts/rzyzkxk.ttf');
}
.wrap { max-width:1276px; margin: 0 auto; }
body { background: #fff; font-size: 14px; line-height: 1.5; font-family: "Microsoft Yahei";}
.mod-card{ height: 1063px; background: url("//static.shenbd.com/www/index/2018/img/card/bg-card.jpg") no-repeat; position: relative; color:#030000}
.mod-card .mod-c1, .mod-card .mod-c2{ position: absolute; width: 50%; text-align: center;}
.mod-card .mod-c1{ left: 0; top: 300px;}
.mod-card .mod-c2{ right: 0; top: 200px;}
.mod-card .t1{ margin-top: 35px;}
.mod-card .t2{ margin-top: 255px;}
.mod-card .message{ line-height: 1.4; margin-top: 160px;}
.mod-card .name{ font-size: 74px; font-family: 'rzyzkxk';}
.mod-card .title{ font-size: 26px;}
.mod-card .phone{ font-size: 36px; margin-top: 20px; letter-spacing: 8px;}
.mod-card .code{ margin-top: 60px;}
</style>
</head>
<body>
<div class="wrap">
<div class="mod-card">
<div class="mod-c1">
<p><img src="//static.shenbd.com/www/index/2018/img/code-download-400.jpg" width="325" height="325" alt="我的身边店"></p>
<p class="t1"><img src="//static.shenbd.com/www/index/2018/img/card/t1.png" alt="我的身边店"></p>
<p class="t2"><img src="//static.shenbd.com/www/index/2018/img/card/t2.png" alt="您身边的品牌 服务品牌的你"></p>
</div>
<div class="mod-c2">
<div class="logo">
<img src="//static.shenbd.com/lib/img/logo-black.png" alt="我的身边店">
</div>
<div class="message">
<p class="name"><?php echo $params['name']; ?></p>
<p class="title">区域经理</p>
<p class="phone"><?php echo $params['telephone']; ?></p>
</div>
<div class="code">
<img width="213" src="<?php echo $params['qrcodeUrl']; ?>" alt="我的身边店">
</div>
</div>
</div>
</div>
</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