From 890f3266cd843529bed2d8f4257cfcd511f7e81b Mon Sep 17 00:00:00 2001 From: lixiaoyu <1906596264@qq.com> Date: Sat, 23 Sep 2023 16:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/source/apps/cart/controllers/IndexController.php | 2 +- mobile/source/apps/flow/controllers/IndexController.php | 2 +- mobile/source/apps/site/controllers/IndexController.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/source/apps/cart/controllers/IndexController.php b/mobile/source/apps/cart/controllers/IndexController.php index d7cc4fd..fa1a994 100755 --- a/mobile/source/apps/cart/controllers/IndexController.php +++ b/mobile/source/apps/cart/controllers/IndexController.php @@ -53,7 +53,7 @@ class IndexController extends FrontendController { */ public function actionIndex() { - var_dump($_SESSION['appid']); + /* 标记购物流程为普通商品 */ $_SESSION['flow_type'] = CART_GENERAL_GOODS; diff --git a/mobile/source/apps/flow/controllers/IndexController.php b/mobile/source/apps/flow/controllers/IndexController.php index f7e3304..640452a 100755 --- a/mobile/source/apps/flow/controllers/IndexController.php +++ b/mobile/source/apps/flow/controllers/IndexController.php @@ -529,7 +529,7 @@ class IndexController extends FrontendController { */ public function actiondone(){ - var_dump($_SESSION['appid']); + /* 取得购物类型 */ $flow_type = isset($_SESSION['flow_type']) ? intval($_SESSION['flow_type']) : CART_GENERAL_GOODS; diff --git a/mobile/source/apps/site/controllers/IndexController.php b/mobile/source/apps/site/controllers/IndexController.php index b7d93ea..cf8a201 100755 --- a/mobile/source/apps/site/controllers/IndexController.php +++ b/mobile/source/apps/site/controllers/IndexController.php @@ -24,7 +24,7 @@ class IndexController extends FrontendController { if(I('app')){ $_SESSION['appid']=I('app'); } - var_dump($_SESSION['appid']); + $this->assign('cart_number', cart_number());//购物车数量 $this->assign('hot_click', get_hot_click());// 获取热门搜索 $this->assign('store', get_store());// 获取店铺