修复 #42

Merged
yunyang merged 1 commits from yy-4.20 into master 2 years ago

@ -132,6 +132,11 @@ class Callback extends Controller
if ($adminUser) {
Session::set('user_id', $adminUser['id']);
return redirect('http://web.lbschem.com:8088/?authkey=wxwork&sessionid='.session_id());
} elseif (Session::get('user_id')) {
db('admin_user')->where('id', Session::get('user_id'))->update([
'wxwork_id' => $userInfo['userid']
]);
return redirect('http://web.lbschem.com:8088/?authkey=wxwork&sessionid='.session_id());
}
}
return redirect('http://web.lbschem.com:8088/');

Loading…
Cancel
Save