Authored by hf

code review by zheng.zhang: do yuanxiao chouqian huodong

... ... @@ -45,7 +45,7 @@ class YuanxiaoController extends HuodongAction
$this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default'));
} else {
$playUrl = Helpers::url('/cuxiao/yuanxiao/index');
$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"}}}');
$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"}}}');
}
}
... ... @@ -71,7 +71,7 @@ class YuanxiaoController extends HuodongAction
$this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60);
$waitUrl = Helpers::url('/cuxiao/yuanxiao/wait');
$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);
$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);
} else { // 不成功就显示返回的错误信息
... ... @@ -122,7 +122,7 @@ class YuanxiaoController extends HuodongAction
$this->_view->display('wait', array(
'staticTitle' => '2016潮流运势测试',
'staticFile' => self::STATIC_FILE,
'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,
'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,
'staticJS' => array(
'wait.js'
),
... ...