Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
bb840e246e1701e3487122824cb999ef16791eb7
2 parents
5754f0d9
fa84d47c
code review by hf: do modify passport module support https
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
646 additions
and
73 deletions
compile/huodong.m.yohobuy.com/1.0.3/72497a71148ddc876f1972f037520e9b.php
compile/huodong.m.yohobuy.com/1.0.3/c199ebfbcb84d66a18ea402408490460.php
script/nginx/conf/vhosts/nginx.pre.yohobuy.conf.conf
template/m.yohobuy.com/actions/passport/login/index.phtml
template/m.yohobuy.com/actions/passport/login/international.phtml
template/m.yohobuy.com/actions/passport/reg/code.phtml
template/m.yohobuy.com/actions/passport/reg/index.phtml
template/m.yohobuy.com/actions/passport/reg/password.phtml
template/m.yohobuy.com/partials/layout/analysis_passport.phtml
template/m.yohobuy.com/partials/layout/footer_passport.phtml
template/m.yohobuy.com/partials/layout/header_passport.phtml
template/m.yohobuy.com/partials/layout/use.phtml
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php
compile/huodong.m.yohobuy.com/1.0.3/72497a71148ddc876f1972f037520e9b.php
0 → 100644
View file @
bb840e2
<?php
return
function
(
$in
,
$debugopt
=
1
)
{
$cx
=
array
(
'flags'
=>
array
(
'jstrue'
=>
false
,
'jsobj'
=>
false
,
'spvar'
=>
true
,
'prop'
=>
false
,
'method'
=>
false
,
'mustlok'
=>
true
,
'echo'
=>
false
,
'debug'
=>
$debugopt
,
),
'constants'
=>
array
(),
'helpers'
=>
array
(),
'blockhelpers'
=>
array
(),
'hbhelpers'
=>
array
(),
'partials'
=>
array
(),
'scopes'
=>
array
(),
'sp_vars'
=>
array
(
'root'
=>
$in
),
'lcrun'
=>
'Plugin\LCRun3'
,
);
return
'<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'staticTitle'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'</title>
<meta name="apple-mobile-web-app-title" content="SUMMER SALE">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="grey">
<link rel="stylesheet" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/css/final/sale.css">
<script>
(function(doc, win) {
var docEl = doc.documentElement;
(function() {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
}());
})(document, window);
</script>
</head>
<body class="keBody">
<div class="coupon-christmas" show="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'showPopupFlag'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<div class="coupon-top">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/top-bg.png" alt="">
<a class="go-check" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'myCouponUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a class="share-btn" href="javascript:;"></a>
</div>
<div class="coupon-bottom">
<div class="coupon-banner">
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_1'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_2'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_3'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_4'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
</div>
<div class="bottom-btn">
<a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
<a class="download-yoho" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'downAppUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
</div>
</div>
<div class="coupon-ft">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/14.png">
</div>
</div>
<div class="modal"></div>
<div class="dialog-box geted">
<div class="dialog-inner">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/geted.png" alt=""/>
<span class="dialog-close"></span>
</div>
</div>
<div class="dialog-box fail">
<div class="dialog-inner">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/fail.png" alt=""/>
<span class="refresh-btn"></span>
</div>
</div>
<input id="shareLink" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareLink'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareImg" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareImg'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareTitle" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareTitle'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareDesc" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareDesc'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<script type="text/javascript" src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/js/jquery.min.js"></script>
<script>
//提示分享
$(\'.share-btn\').click(function () {
$(\'.modal\').fadeIn();
});
//关闭提示分享
$(\'.modal\').click(function () {
$(this).fadeOut();
});
//提示已领过券
if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
$(\'.dialog-box.geted\').show();
}
//提示领券失败
else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
$(\'.dialog-box.fail\').show();
}
//关闭提示
$(\'.dialog-close\').click(function(){
$(this).parents(\'.dialog-box\').fadeOut();
});
//刷新页面
$(\'.refresh-btn\').click(function() {
location.reload();
});
</script>
'
.
((
Plugin\LCRun3
::
ifvar
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'weixinShare'
))))
?
'<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" charset="utf-8" src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'jsUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/js/share.weixin.js"></script>
'
:
''
)
.
''
.
'<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
\'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
</script>
<!-- End Google Tag Manager -->
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
'
.
'</body>
</html><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'staticTitle'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'</title>
<meta name="apple-mobile-web-app-title" content="SUMMER SALE">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="grey">
<link rel="stylesheet" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/css/christmas/index4.css">
<script>
(function(doc, win) {
var docEl = doc.documentElement;
(function() {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
}());
})(document, window);
</script>
</head>
<body class="keBody">
<div class="coupon-christmas" show="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'showPopupFlag'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<div class="coupon-top">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/top-bg.png" alt="">
<a class="go-check" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'myCouponUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a class="share-btn" href="javascript:;"></a>
</div>
<div class="coupon-bottom">
<div class="coupon-banner">
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_1'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/banner01.png" alt="">
</a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_2'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/banner02.png" alt="">
</a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_3'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/banner03.png" alt="">
</a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_4'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/banner04.png" alt="">
</a>
</div>
<div class="bottom-btn">
<a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
<a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a>
</div>
</div>
<div class="coupon-ft">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/14.png">
</div>
</div>
<div class="modal"></div>
<div class="dialog-box geted">
<div class="dialog-inner">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/geted.png" alt=""/>
<span class="dialog-close"></span>
</div>
</div>
<div class="dialog-box fail">
<div class="dialog-inner">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/fail.png" alt=""/>
<span class="refresh-btn"></span>
</div>
</div>
<input id="shareLink" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareLink'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareImg" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareImg'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareTitle" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareTitle'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareDesc" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareDesc'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<script type="text/javascript" src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/js/jquery.min.js"></script>
<script>
//提示分享
$(\'.share-btn\').click(function () {
$(\'.modal\').fadeIn();
});
//关闭提示分享
$(\'.modal\').click(function () {
$(this).fadeOut();
});
//提示已领过券
if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
$(\'.dialog-box.geted\').show();
}
//提示领券失败
else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
$(\'.dialog-box.fail\').show();
}
//关闭提示
$(\'.dialog-close\').click(function(){
$(this).parents(\'.dialog-box\').fadeOut();
});
//刷新页面
$(\'.refresh-btn\').click(function() {
location.reload();
});
</script>
'
.
((
Plugin\LCRun3
::
ifvar
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'weixinShare'
))))
?
'<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" charset="utf-8" src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'jsUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/js/share.weixin.js"></script>
'
:
''
)
.
''
.
'<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
\'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
</script>
<!-- End Google Tag Manager -->
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
'
.
'</body>
</html>'
;
}
?>
\ No newline at end of file
...
...
compile/huodong.m.yohobuy.com/1.0.3/c199ebfbcb84d66a18ea402408490460.php
0 → 100644
View file @
bb840e2
<?php
return
function
(
$in
,
$debugopt
=
1
)
{
$cx
=
array
(
'flags'
=>
array
(
'jstrue'
=>
false
,
'jsobj'
=>
false
,
'spvar'
=>
true
,
'prop'
=>
false
,
'method'
=>
false
,
'mustlok'
=>
true
,
'echo'
=>
false
,
'debug'
=>
$debugopt
,
),
'constants'
=>
array
(),
'helpers'
=>
array
(),
'blockhelpers'
=>
array
(),
'hbhelpers'
=>
array
(),
'partials'
=>
array
(),
'scopes'
=>
array
(),
'sp_vars'
=>
array
(
'root'
=>
$in
),
'lcrun'
=>
'Plugin\LCRun3'
,
);
return
'<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'staticTitle'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'</title>
<meta name="apple-mobile-web-app-title" content="SUMMER SALE">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="grey">
<link rel="stylesheet" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/css/final/sale.css">
<script>
(function(doc, win) {
var docEl = doc.documentElement;
(function() {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
}());
})(document, window);
</script>
</head>
<body class="keBody">
<div class="coupon-christmas" show="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'showPopupFlag'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<div class="coupon-top">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/top-bg.png" alt="">
<a class="go-check" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'myCouponUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a class="share-btn" href="javascript:;"></a>
</div>
<div class="coupon-bottom">
<div class="coupon-banner">
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_1'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_2'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_3'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
<a href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'bannerUrl_4'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
</div>
<div class="bottom-btn">
<a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
<a class="download-yoho" href="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'downAppUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'"></a>
</div>
</div>
<div class="coupon-ft">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/14.png">
</div>
</div>
<div class="modal"></div>
<div class="dialog-box geted">
<div class="dialog-inner">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/geted.png" alt=""/>
<span class="dialog-close"></span>
</div>
</div>
<div class="dialog-box fail">
<div class="dialog-inner">
<img src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/img/final/fail.png" alt=""/>
<span class="refresh-btn"></span>
</div>
</div>
<input id="shareLink" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareLink'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareImg" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareImg'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareTitle" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareTitle'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<input id="shareDesc" type="hidden" value="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'shareDesc'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'">
<script type="text/javascript" src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'imgUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/js/jquery.min.js"></script>
<script>
//提示分享
$(\'.share-btn\').click(function () {
$(\'.modal\').fadeIn();
});
//关闭提示分享
$(\'.modal\').click(function () {
$(this).fadeOut();
});
//提示已领过券
if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
$(\'.dialog-box.geted\').show();
}
//提示领券失败
else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
$(\'.dialog-box.fail\').show();
}
//关闭提示
$(\'.dialog-close\').click(function(){
$(this).parents(\'.dialog-box\').fadeOut();
});
//刷新页面
$(\'.refresh-btn\').click(function() {
location.reload();
});
</script>
'
.
((
Plugin\LCRun3
::
ifvar
(
$cx
,
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'weixinShare'
))))
?
'<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" charset="utf-8" src="'
.
htmlentities
((
string
)
Plugin\LCRun3
::
v
(
$cx
,
$in
,
array
(
'jsUrl'
)),
ENT_QUOTES
,
'UTF-8'
)
.
'/cuxiao/js/share.weixin.js"></script>
'
:
''
)
.
''
.
'<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
\'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
</script>
<!-- End Google Tag Manager -->
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
'
.
'</body>
</html>'
;
}
?>
\ No newline at end of file
...
...
script/nginx/conf/vhosts/nginx.pre.yohobuy.conf.conf
View file @
bb840e2
...
...
@@ -23,44 +23,54 @@ server
}
location
= /
reg
.
html
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
= /
signin
.
html
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
= /
login
.
html
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
= /
emailback
.
html
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
= /
phoneback
.
html
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
= /
help
/
shareorder
.
html
{
root
/
Data
/
code
/
git
/
yohobuy
/
yohobuy
/
assets
;
...
...
@@ -70,28 +80,34 @@ server
expires
7
d
;
}
location
^~ /
passport
/
reg
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
^~ /
passport
/
login
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
^~ /
passport
/
back
{
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
Accept
-
Encoding
"gzip"
;
return
301
https
://$
server_name
$
request_uri
;
# proxy_redirect off;
# proxy_pass http://yohobuy;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Accept-Encoding "gzip";
}
location
= / {
...
...
@@ -368,7 +384,7 @@ server
{
listen
80
;
server_name
huodong
.
m
.
yohobuy
.
com
;
root
/
Data
/
code
/
git
/
yohobuy
/
yohobuy
/
huodong
.
m
.
yohobuy
.
com
/
public
;
root
/
Data
/
PE
/
yohobuy
/
yohobuy
/
huodong
.
m
.
yohobuy
.
com
/
public
;
location
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
...
...
@@ -394,14 +410,25 @@ server
server
{
listen
443
;
server_name
login
.
m
.
yohobuy
.
com
cart
.
m
.
yohobuy
.
com
;
ssl
on
;
ssl_certificate
/
Data
/
local
/
nginx
-
1
.
8
.
0
/
ssl
/
server
.
crt
;
ssl_certificate_key
/
Data
/
local
/
nginx
-
1
.
8
.
0
/
ssl
/
server
.
key
;
root
/
Data
/
code
/
git
/
yohobuy
/
yohobuy
/
m
.
yohobuy
.
com
/
public
;
listen
443
ssl
;
server_name
login
.
m
.
yohobuy
.
com
;
root
/
Data
/
PE
/
yohobuy
/
yohobuy
/
m
.
yohobuy
.
com
/
public
;
location
/ {
ssl_certificate
/
home
/
hf
/
ssl
/
server
.
crt
;
ssl_certificate_key
/
home
/
hf
/
ssl
/
server
.
key
;
ssl_dhparam
/
home
/
hf
/
ssl
/
dhparams
.
pem
;
ssl_prefer_server_ciphers
on
;
ssl_protocols
TLSv1
TLSv1
.
1
TLSv1
.
2
;
ssl_ciphers
"ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:AES256-GCM-SHA384:DES-CBC3-SHA"
;
ssl_session_tickets
off
;
ssl_session_cache
shared
:
SSL
:
10
m
;
# add_header Strict-Transport-Security "max-age=31536000";
# add_header X-Frame-Options deny;
# add_header X-Content-Type-Options nosniff;
location
/ {
proxy_redirect
off
;
proxy_pass
http
://
yohobuy
;
proxy_set_header
Host
$
host
;
...
...
@@ -410,6 +437,11 @@ server
proxy_set_header
Accept
-
Encoding
"gzip"
;
}
location
^~ /
dist
/ {
root
/
Data
/
PE
/
yohobuy
/
yohobuy
/
static
;
expires
30
d
;
}
location
~* \.(
ico
|
woff
|
svg
|
eot
|
ttf
|
otf
)$ {
expires
30
d
;
}
...
...
@@ -423,4 +455,3 @@ server
expires
1
d
;
}
}
...
...
template/m.yohobuy.com/actions/passport/login/index.phtml
View file @
bb840e2
{
{>
layout/header
}
}
{
{>
layout/header
_passport
}
}
<div
class=
"login-page passport-page yoho-page"
>
{
{>
passport/header
}
}
<div
class=
"content"
>
...
...
@@ -41,4 +41,4 @@
</ul>
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer_passport
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/passport/login/international.phtml
View file @
bb840e2
{
{>
layout/header
}
}
{
{>
layout/header
_passport
}
}
<div
class=
"login-international-page passport-page yoho-page"
>
{
{>
passport/header
}
}
<div
class=
"content"
>
...
...
@@ -13,4 +13,4 @@
<span
id=
"btn-login"
class=
"btn btn-login disble row"
>登录</span>
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer_passport
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/passport/reg/code.phtml
View file @
bb840e2
{
{>
layout/header
}
}
{
{>
layout/header
_passport
}
}
<div
class=
"reg-code-page passport-page yoho-page"
>
{
{>
passport/code
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer_passport
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/passport/reg/index.phtml
View file @
bb840e2
{
{>
layout/header
}
}
{
{>
layout/header
_passport
}
}
<div
class=
"reg-page passport-page yoho-page"
>
{
{>
passport/header
}
}
<div
class=
"content"
>
...
...
@@ -11,4 +11,4 @@
<p
class=
"register-tip"
>YOHO!Family账号可登录Yoho!Buy有货、YOHO!Boys、YOHO!Girls及SHOW</p>
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer_passport
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/passport/reg/password.phtml
View file @
bb840e2
{
{>
layout/header
}
}
{
{>
layout/header
_passport
}
}
<div
class=
"reg-password-page passport-page yoho-page"
>
{
{>
passport/header
}
}
<div
class=
"content"
>
...
...
@@ -20,4 +20,4 @@ var r=b.getElementsByTagName('script')[0];r.parentNode.insertBefore(s,r);
_agtjs('init','AG_
052186
_PHCW','yohobuy.com');
_agtjs('loadEvent',
{
atsev:101,'atsrmv':
""
});
</script>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer_passport
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/layout/analysis_passport.phtml
0 → 100644
View file @
bb840e2
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W958MG');
</script>
<!-- End Google Tag Manager -->
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="/dist/analysis/v1/js/om_code.js"></script>
...
...
template/m.yohobuy.com/partials/layout/footer_passport.phtml
0 → 100644
View file @
bb840e2
{
{>
layout/page_footer
}
}
{
{>
layout/download_app
}
}
{
{#if
hasWxShare
}
}
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"//res.wx.qq.com/open/js/jweixin-1.0.0.js"
></script>
{
{/if
}
}
{
{#if
rlsEnv
}
}
<script
src=
"/dist/myohobuy/{{version}}/lib.js"
></script>
<script
src=
"/dist/myohobuy/{{version}}/index.js"
></script>
{
{/if
}
}
{
{#if
preEnv
}
}
<script
src=
"/dist/myohobuy/{{version}}/lib.js"
></script>
<script
src=
"/dist/myohobuy/{{version}}/index.js"
></script>
{
{/if
}
}
{
{#if
testEnv
}
}
<script
src=
"/dist/myohobuy/{{version}}/lib.js"
></script>
<script
src=
"/dist/myohobuy/{{version}}/index-debug.js"
></script>
{
{/if
}
}
{
{#if
devEnv
}
}
<script
src=
"http://localhost:8000/static/js/sea.js?nowrap"
></script>
<script>seajs.config(
{
base:
'http://localhost:8000/'
}
);</script>
{
{/if
}
}
{
{>
layout/use
}
}
{
{>
layout/analysis_passport
}
}
</body>
</html>
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/layout/header_passport.phtml
0 → 100644
View file @
bb840e2
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
{{title}}
</title>
<meta
name=
"keywords"
content=
"{{keywords}}"
>
<meta
name=
"description"
content=
"{{description}}"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
>
<meta
http-equiv=
"cleartype"
content=
"on"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
/>
<meta
content=
"telephone=no"
name=
"format-detection"
/>
<meta
content=
"email=no"
name=
"format-detection"
/>
<script
type=
"text/javascript"
>
(
function
(
doc
,
win
)
{
var
docEl
=
doc
.
documentElement
;
(
function
()
{
var
clientWidth
=
docEl
.
clientWidth
;
if
(
!
clientWidth
)
{
return
;
}
docEl
.
style
.
fontSize
=
20
*
(
clientWidth
/
320
)
+
'px'
;
}());
})(
document
,
window
);
</script>
<link
rel=
"dns-prefetch"
href=
"//cdn.yoho.cn"
>
<link
rel=
"dns-prefetch"
href=
"//static.yohobuy.com"
>
<link
rel=
"dns-prefetch"
href=
"//img12.static.yhbimg.com"
>
<link
rel=
"dns-prefetch"
href=
"//img13.static.yhbimg.com"
>
{{#if rlsEnv}}
<link
rel=
"stylesheet"
href=
"/dist/myohobuy/{{version}}/index.css"
>
{{/if}}
{{#if preEnv}}
<link
rel=
"stylesheet"
href=
"/dist/myohobuy/{{version}}/index.css"
>
{{/if}}
{{#if testEnv}}
<link
rel=
"stylesheet"
href=
"/dist/myohobuy/{{version}}/index.css"
>
{{/if}}
{{#if devEnv}}
<link
rel=
"stylesheet"
href=
"http://static.dev.yohobuy.com/css/index.css"
>
{{/if}}
</head>
<body
{{#
if
isPassportPage
}}
class=
passport-body{{/if}}
>
{{#if systemUpdate}}
<div
class=
"systemUpdate"
>
<a
href=
"index/systemUpdate"
class=
"systemHeader"
>
Yoho!Buy有货关于系统升级的公告
</a>
<span>
X
</span>
</div>
{{/if}}
{{> layout/page_header}}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/layout/use.phtml
View file @
bb840e2
<script>
seajs.use('js/common');
</script>
{{!-- 逛(PLUS+STAR) --}}
{{!-- 逛(PLUS+STAR) --}}
{{#if psList}}
<script>
seajs.use('js/guang/plus-star/list');
...
...
@@ -191,12 +191,12 @@
seajs.use('js/product/detail/comments-consults');
</script>
{{/if}}
{{!-- 商品详情我要咨询 --}}
{{#if consultformPage}}
{{!-- 商品详情我要咨询 --}}
{{#if consultformPage}}
<script>
seajs.use('js/product/detail/consultform');
</script>
{{/if}}
{{/if}}
{{!-- 品类 --}}
{{#if categoryPage}}
<script>
...
...
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php
View file @
bb840e2
...
...
@@ -698,9 +698,9 @@ class CouponController extends HuodongAction
}
/* 判断用户是否登录 */
$uid
=
$this
->
get
Uid
(
);
$uid
=
$this
->
get
Session
(
self
::
SESSION_UID
);
if
(
!
$uid
)
{
$uid
=
$this
->
get
Session
(
self
::
SESSION_UID
);
$uid
=
$this
->
get
Uid
(
);
if
(
!
$uid
)
{
$result
[
'code'
]
=
400
;
$result
[
'message'
]
=
'请先登录'
;
...
...
Please
register
or
login
to post a comment