From 4eb627db4e92cecaa552f67f171f163ae5949c56 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Mon, 3 Jun 2019 17:46:14 +0800 Subject: [PATCH] 5 --- app/portal/controller/PersonalcenterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portal/controller/PersonalcenterController.php b/app/portal/controller/PersonalcenterController.php index 2ee6b78..77ded5f 100644 --- a/app/portal/controller/PersonalcenterController.php +++ b/app/portal/controller/PersonalcenterController.php @@ -114,7 +114,7 @@ class PersonalcenterController extends WeChatBaseController{ public function browsing_history(){ $uid = cmf_get_current_user_id(); - $data = Db::name('collect') -> where("uid =".$uid) -> select(); + $data = Db::name('browsing_history') -> where("uid =".$uid) -> select(); foreach($data as $key => $val){ $data_goods[] = Db::name('goods') -> where('id',$val['goods_id']) -> find(); } -- libgit2 0.24.0