作者 xiaohu thinkpad

登录处理

@@ -130,6 +130,7 @@ class IndexController extends HomeBaseController @@ -130,6 +130,7 @@ class IndexController extends HomeBaseController
130 130
131 $gid = $req->param('gid'); 131 $gid = $req->param('gid');
132 $id = session('user.id'); 132 $id = session('user.id');
  133 + var_dump($id);
133 $re = Db::name('user')->where(['id' => $id])->find(); 134 $re = Db::name('user')->where(['id' => $id])->find();
134 $res = Db::name('goods')->where(['id' => $gid])->find(); 135 $res = Db::name('goods')->where(['id' => $gid])->find();
135 136