Showing
1 changed file
with
2 additions
and
1 deletions
@@ -117,11 +117,12 @@ class YuanxiaoController extends HuodongAction | @@ -117,11 +117,12 @@ class YuanxiaoController extends HuodongAction | ||
117 | public function waitAction() | 117 | public function waitAction() |
118 | { | 118 | { |
119 | $activityUrl = Helpers::url('/cuxiao/yuanxiao/result'); | 119 | $activityUrl = Helpers::url('/cuxiao/yuanxiao/result'); |
120 | + $activityUrlEncode = strtr($activityUrl, array('/' => '\\/')); | ||
120 | 121 | ||
121 | $this->_view->display('wait', array( | 122 | $this->_view->display('wait', array( |
122 | 'staticTitle' => '2016潮流运势测试', | 123 | 'staticTitle' => '2016潮流运势测试', |
123 | 'staticFile' => self::STATIC_FILE, | 124 | 'staticFile' => self::STATIC_FILE, |
124 | - 'activityUrl' => !$this->isWeixin() ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $activityUrl . '","islogin":"N","share":"'.$activityUrl.'","shareparam":{"share_id":"19"}}}' : $activityUrl, | 125 | + 'activityUrl' => !$this->isWeixin() ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $activityUrlEncode . '","islogin":"N",,"param":{"from":"app"},"share":"'.$activityUrlEncode.'","shareparam":{"share_id":"19"}}}' : $activityUrl, |
125 | 'staticJS' => array( | 126 | 'staticJS' => array( |
126 | 'wait.js' | 127 | 'wait.js' |
127 | ), | 128 | ), |
-
Please register or login to post a comment