|
@@ -8,6 +8,7 @@ namespace app\index\controller;
|
|
|
|
|
|
|
|
|
|
use app\common\service\CommonService;
|
|
use app\common\service\CommonService;
|
|
|
|
+use think\facade\Session;
|
|
|
|
|
|
class Index {
|
|
class Index {
|
|
|
|
|
|
@@ -15,7 +16,7 @@ class Index {
|
|
$visitorId = input('visitorId');
|
|
$visitorId = input('visitorId');
|
|
$notifyUrl = input('notify_url');
|
|
$notifyUrl = input('notify_url');
|
|
var_dump(input());
|
|
var_dump(input());
|
|
- var_dump($_SESSION);
|
|
|
|
|
|
+ var_dump(Session::instance());
|
|
die();
|
|
die();
|
|
if (empty(session('unionid'))){
|
|
if (empty(session('unionid'))){
|
|
header("Location:".CommonService::getAuthUrl());
|
|
header("Location:".CommonService::getAuthUrl());
|