code review by zheng.zhang: do yuanxiao chouqian huodong
Showing
1 changed file
with
2 additions
and
2 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":"722"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"722"}}}'); | 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 | ||
@@ -245,7 +245,7 @@ class YuanxiaoController extends HuodongAction | @@ -245,7 +245,7 @@ class YuanxiaoController extends HuodongAction | ||
245 | */ | 245 | */ |
246 | private function isApp() | 246 | private function isApp() |
247 | { | 247 | { |
248 | - return (null !== $this->get('app_version')); | 248 | + return (null !== $this->get('app_version') || null !== $this->get('openby:yohobuy', null)); |
249 | } | 249 | } |
250 | 250 | ||
251 | /** | 251 | /** |
-
Please register or login to post a comment