Authored by Rock Zhang

app share

@@ -82,7 +82,7 @@ class YuanxiaoController extends HuodongAction @@ -82,7 +82,7 @@ class YuanxiaoController extends HuodongAction
82 $this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60); 82 $this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60);
83 83
84 $waitUrl = Helpers::url('/cuxiao/yuanxiao/wait'); 84 $waitUrl = Helpers::url('/cuxiao/yuanxiao/wait');
85 - $this->go($this->_isApp ? $waitUrl . '?openby:yohobuy={"action":"go.h5","params":{"islogin":"N"}}' : $waitUrl); 85 + $this->go($this->_isApp ? $waitUrl . '?openby:yohobuy={"action":"go.h5","params":{"islogin":"N","param":{"from":"app"}}}' : $waitUrl);
86 86
87 } else { // 不成功就显示返回的错误信息 87 } else { // 不成功就显示返回的错误信息
88 88
@@ -92,7 +92,7 @@ class YuanxiaoController extends HuodongAction @@ -92,7 +92,7 @@ class YuanxiaoController extends HuodongAction
92 'staticJS' => array( 92 'staticJS' => array(
93 'info.js' 93 'info.js'
94 ), 94 ),
95 - 'shareDesc' => '元宵快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', 95 + 'shareDesc' => '元宵快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!',
96 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', 96 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png',
97 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'), 97 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'),
98 'birthday' => $birthday, 98 'birthday' => $birthday,
@@ -134,7 +134,7 @@ class YuanxiaoController extends HuodongAction @@ -134,7 +134,7 @@ class YuanxiaoController extends HuodongAction
134 $this->_view->display('wait', array( 134 $this->_view->display('wait', array(
135 'staticTitle' => '2016潮流运势测试', 135 'staticTitle' => '2016潮流运势测试',
136 'staticFile' => self::STATIC_FILE, 136 'staticFile' => self::STATIC_FILE,
137 - 'activityUrl' => $this->_isApp ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"islogin":"N","share":"'.$activityUrl.'", shareparam:":{"share_id":"1"}}}' : $activityUrl, 137 + 'activityUrl' => $this->_isApp ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"islogin":"N","param":{"from":"app"},"share":"'.$activityUrl.'", shareparam:":{"share_id":"1"}}}' : $activityUrl,
138 'staticJS' => array( 138 'staticJS' => array(
139 'wait.js' 139 'wait.js'
140 ), 140 ),