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":"722"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"722"}}}');
$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"}}}');
}
}
... ... @@ -245,7 +245,7 @@ class YuanxiaoController extends HuodongAction
*/
private function isApp()
{
return (null !== $this->get('app_version'));
return (null !== $this->get('app_version') || null !== $this->get('openby:yohobuy', null));
}
/**
... ...