code review by zheng.zhang: do yuanxiao chouqian huodong
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -45,7 +45,7 @@ class YuanxiaoController extends HuodongAction | @@ -45,7 +45,7 @@ class YuanxiaoController extends HuodongAction | ||
45 | $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); | 45 | $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); |
46 | } else { | 46 | } else { |
47 | $playUrl = Helpers::url('/cuxiao/yuanxiao/index'); | 47 | $playUrl = Helpers::url('/cuxiao/yuanxiao/index'); |
48 | - $this->go($playUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $playUrl . '?","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}'); | 48 | + $this->go($playUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $playUrl . '","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}'); |
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
@@ -71,7 +71,7 @@ class YuanxiaoController extends HuodongAction | @@ -71,7 +71,7 @@ class YuanxiaoController extends HuodongAction | ||
71 | $this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60); | 71 | $this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60); |
72 | 72 | ||
73 | $waitUrl = Helpers::url('/cuxiao/yuanxiao/wait'); | 73 | $waitUrl = Helpers::url('/cuxiao/yuanxiao/wait'); |
74 | - $this->go(!$this->isWeixin() ? $waitUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $waitUrl . '?","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}' : $waitUrl); | 74 | + $this->go(!$this->isWeixin() ? $waitUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $waitUrl . '","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}' : $waitUrl); |
75 | 75 | ||
76 | } else { // 不成功就显示返回的错误信息 | 76 | } else { // 不成功就显示返回的错误信息 |
77 | 77 | ||
@@ -122,7 +122,7 @@ class YuanxiaoController extends HuodongAction | @@ -122,7 +122,7 @@ class YuanxiaoController extends HuodongAction | ||
122 | $this->_view->display('wait', array( | 122 | $this->_view->display('wait', array( |
123 | 'staticTitle' => '2016潮流运势测试', | 123 | 'staticTitle' => '2016潮流运势测试', |
124 | 'staticFile' => self::STATIC_FILE, | 124 | 'staticFile' => self::STATIC_FILE, |
125 | - 'activityUrl' => !$this->isWeixin() ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $activityUrl . '?","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}' : $activityUrl, | 125 | + 'activityUrl' => !$this->isWeixin() ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $activityUrl . '","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}' : $activityUrl, |
126 | 'staticJS' => array( | 126 | 'staticJS' => array( |
127 | 'wait.js' | 127 | 'wait.js' |
128 | ), | 128 | ), |
-
Please register or login to post a comment