...
|
...
|
@@ -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();
|
|
|
}
|
...
|
...
|
|