Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
af7ff4b942f2b38917b843e77d66b10d1594a2d8
1 parent
c428ea43
code review by hf: do newyear game coupon huodong
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php
View file @
af7ff4b
...
...
@@ -38,8 +38,7 @@ class NewyearController extends HuodongAction
switch
(
intval
(
$result
[
'code'
]))
{
case
200
:
// 领取成功, 发送站内信消息
$showPopupFlag
=
'0'
;
// TODO
$this
->
sendMessage
(
$uid
,
'【优惠券】您获得1000元优惠券'
,
'尊敬的客户:恭喜您成功获得1000元套券 !您可以在个人中心的交易管理中查看‘我的优惠券’。'
);
$this
->
sendMessage
(
$uid
,
'【优惠券】您有1000元套券'
,
'尊敬的客户:恭喜您成功获得1000元套券 !您可以在个人中心的交易管理中查看‘我的优惠券’。'
);
break
;
case
201
:
// 已领取过, 提示重复领券
$showPopupFlag
=
'1'
;
...
...
@@ -53,7 +52,7 @@ class NewyearController extends HuodongAction
$this
->
_view
->
display
(
'coupon'
,
array
(
'staticTitle'
=>
'YOHO!BUY有货新年寻宝大作战'
,
'weixinShare'
=>
$this
->
_isApp
?
false
:
true
,
// 是否需要微信分享
'shareLink'
=>
''
,
'shareLink'
=>
'
http://feature.yoho.cn/2016lishifeng/index.html
'
,
'shareTitle'
=>
'YOHO!BUY有货新年寻宝大作战,千元利是等你赢!'
,
'shareDesc'
=>
'YOHO!BUY有货,全球800+潮流品牌每日上新!'
,
'shareImg'
=>
'http://img12.static.yhbimg.com/couponImg/2015/12/30/12/02008a9724b898dee56852de9f1a3978bf.jpg'
,
...
...
Please
register
or
login
to post a comment