This commit is contained in:
aozhiwei 2024-06-07 11:29:08 +08:00
parent 563792fc6e
commit eb78ba444e

View File

@ -917,10 +917,11 @@ class UserController extends BaseAuthedController {
$params = array(
'jwt' => $data['jwt']
);
$url = LOGIN_URL + '?a=Login&c=verifyJwt';
$response = '';
if (!phpcommon\HttpClient::get
(LOGIN_URL,
$params,
if (!phpcommon\HttpClient::postContent
($url,
json_encode($params),
$response)) {
myself()->_rspErr(500, 'server internal error');
return;