diff --git a/mobile/source/apps/site/controllers/IndexController.php b/mobile/source/apps/site/controllers/IndexController.php index 195eee2..447ca77 100755 --- a/mobile/source/apps/site/controllers/IndexController.php +++ b/mobile/source/apps/site/controllers/IndexController.php @@ -20,9 +20,9 @@ class IndexController extends FrontendController { if(!$GLOBALS['_CFG']['wap_config']){ die(L('wap_config')); } -// if(I('app')){ -// $_SESSION('openid',I('app')); -// } + if(I('app')){ + $_SESSION['openid']=I('app'); + } $this->assign('cart_number', cart_number());//购物车数量 $this->assign('hot_click', get_hot_click());// 获取热门搜索 $this->assign('store', get_store());// 获取店铺