Commit 4a794a57 authored by christ's avatar christ

share

parent e073bc64
......@@ -49,7 +49,6 @@ class IndexController extends \Our\Controller_Abstract {
$this->_view->display('index/goods.phtml');
}
if($paramsStr['type']==\Our\ApiConst::shareSaler){
echo json_encode($paramsStr);exit;
$this->_view->display('index/saleShare.phtml');
}
exit;
......
......@@ -49,7 +49,7 @@
<script type="text/javascript">
var pageObj = {
type : "<?php echo $params['shareType'];?>",//1或2是小程序码,其它是二维码
id : "<?php echo $params['id'];?>",//1是小程序码,2是二维码,
id : 2,//1是小程序码,2是二维码,
headerBg : "<?php echo $params['imgUrl'];?>",
url : "<?php echo $params['qrCode'];?>",
qrImg : "<?php echo $params['qrCode'];?>",
......
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