...
|
...
|
@@ -468,7 +468,7 @@ class IndexController extends AbstractAction |
|
|
if (empty($appVersion)) {
|
|
|
$this->setNavHeader('', true, SITE_MAIN);
|
|
|
} else {
|
|
|
$data['app_version'] = $appVersion;
|
|
|
$data['appVersion'] = $appVersion;
|
|
|
}
|
|
|
$this->_view->display('shop', array(
|
|
|
'shopIndex' => $data,
|
...
|
...
|
@@ -485,7 +485,7 @@ class IndexController extends AbstractAction |
|
|
{
|
|
|
$data = array();
|
|
|
$shopId = $this->post('shop_id', 0);
|
|
|
$appVersion = $this->get('app_version', 0);
|
|
|
$appVersion = $this->post('app_version', 0);
|
|
|
$uid = $this->getUid();
|
|
|
do {
|
|
|
if (!$this->isAjax()) {
|
...
|
...
|
@@ -497,11 +497,9 @@ class IndexController extends AbstractAction |
|
|
$refer = urlencode($_SERVER['HTTP_REFERER']);
|
|
|
$toUrl = Helpers::url('/signin.html')."?refer=".$refer;
|
|
|
if (!empty($appVersion)){
|
|
|
echo 'eee';
|
|
|
$toUrl .= 'yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'.$refer.'","param":{}},"requesturl":{"param":{},"url":""},"priority":"Y"}}';
|
|
|
$toUrl .= '&yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'.$refer.'","param":{}},"requesturl":{"param":{},"url":""},"priority":"Y"}}';
|
|
|
}
|
|
|
$data['url'] = $toUrl;
|
|
|
// print_r($data); exit;
|
|
|
break;
|
|
|
}
|
|
|
if (!empty($shopId) && !empty($uid)) {
|
...
|
...
|
|