作者 xiaohu thinkpad

登录处理

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