code review by hf: do newyear game coupon huodong
Showing
1 changed file
with
2 additions
and
3 deletions
@@ -38,8 +38,7 @@ class NewyearController extends HuodongAction | @@ -38,8 +38,7 @@ class NewyearController extends HuodongAction | ||
38 | switch (intval($result['code'])) { | 38 | switch (intval($result['code'])) { |
39 | case 200: // 领取成功, 发送站内信消息 | 39 | case 200: // 领取成功, 发送站内信消息 |
40 | $showPopupFlag = '0'; | 40 | $showPopupFlag = '0'; |
41 | - // TODO | ||
42 | - $this->sendMessage($uid, '【优惠券】您获得1000元优惠券', '尊敬的客户:恭喜您成功获得1000元套券 !您可以在个人中心的交易管理中查看‘我的优惠券’。'); | 41 | + $this->sendMessage($uid, '【优惠券】您有1000元套券', '尊敬的客户:恭喜您成功获得1000元套券 !您可以在个人中心的交易管理中查看‘我的优惠券’。'); |
43 | break; | 42 | break; |
44 | case 201: // 已领取过, 提示重复领券 | 43 | case 201: // 已领取过, 提示重复领券 |
45 | $showPopupFlag = '1'; | 44 | $showPopupFlag = '1'; |
@@ -53,7 +52,7 @@ class NewyearController extends HuodongAction | @@ -53,7 +52,7 @@ class NewyearController extends HuodongAction | ||
53 | $this->_view->display('coupon', array( | 52 | $this->_view->display('coupon', array( |
54 | 'staticTitle' => 'YOHO!BUY有货新年寻宝大作战', | 53 | 'staticTitle' => 'YOHO!BUY有货新年寻宝大作战', |
55 | 'weixinShare' => $this->_isApp ? false : true, // 是否需要微信分享 | 54 | 'weixinShare' => $this->_isApp ? false : true, // 是否需要微信分享 |
56 | - 'shareLink' => '', | 55 | + 'shareLink' => 'http://feature.yoho.cn/2016lishifeng/index.html', |
57 | 'shareTitle' => 'YOHO!BUY有货新年寻宝大作战,千元利是等你赢!', | 56 | 'shareTitle' => 'YOHO!BUY有货新年寻宝大作战,千元利是等你赢!', |
58 | 'shareDesc' => 'YOHO!BUY有货,全球800+潮流品牌每日上新!', | 57 | 'shareDesc' => 'YOHO!BUY有货,全球800+潮流品牌每日上新!', |
59 | 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/12/30/12/02008a9724b898dee56852de9f1a3978bf.jpg', | 58 | 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/12/30/12/02008a9724b898dee56852de9f1a3978bf.jpg', |
-
Please register or login to post a comment