Update api.php

pull/148/head
Mashiro 2019-12-03 21:42:52 +08:00 committed by GitHub
parent f301cdcde1
commit a1d513bcc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ function get_qq_info(WP_REST_Request $request)
$output = array(
'status' => 200,
'success' => true,
'message' => 'success',
'avatar' => 'https://q.qlogo.cn/headimg_dl?dst_uin=' . $qq . '&spec=100',
'name' => $name[$qq][6],
);
@ -414,4 +415,4 @@ function update_manifest_json() {
$result->set_headers(array('Content-Type' => 'application/json'));
return $result;
}
}
}