do format shopping cart
Showing
1 changed file
with
12 additions
and
1 deletions
@@ -62,6 +62,17 @@ class ChristmasController extends HuodongAction | @@ -62,6 +62,17 @@ class ChristmasController extends HuodongAction | ||
62 | 'bannerUrl_2' => 'http://feature.yoho.cn/1211/1211APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1211/1211APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"456"},"param":{"share_id":"456"}}}', | 62 | 'bannerUrl_2' => 'http://feature.yoho.cn/1211/1211APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1211/1211APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"456"},"param":{"share_id":"456"}}}', |
63 | )); | 63 | )); |
64 | } | 64 | } |
65 | + | ||
66 | + /** | ||
67 | + * 链接跳转 | ||
68 | + * | ||
69 | + * 备注:判断是苹果还是安卓 | ||
70 | + * | ||
71 | + */ | ||
72 | + public function goAction() | ||
73 | + { | ||
74 | + | ||
75 | + } | ||
65 | 76 | ||
66 | /** | 77 | /** |
67 | * 检测登录状态 | 78 | * 检测登录状态 |
@@ -71,7 +82,7 @@ class ChristmasController extends HuodongAction | @@ -71,7 +82,7 @@ class ChristmasController extends HuodongAction | ||
71 | private function getLoggedUid() | 82 | private function getLoggedUid() |
72 | { | 83 | { |
73 | // 判断是否是应用访问, 拼接APP需要的URL参数 | 84 | // 判断是否是应用访问, 拼接APP需要的URL参数 |
74 | - $this->_isApp = null !== $this->get('app_version'); | 85 | + $this->_isApp = (null !== $this->get('app_version') || null !== $this->get('uid')); |
75 | $uid = false; | 86 | $uid = false; |
76 | if ($this->_isApp) { | 87 | if ($this->_isApp) { |
77 | $uid = $this->get('uid'); | 88 | $uid = $this->get('uid'); |
-
Please register or login to post a comment