Update api.php
This commit is contained in:
parent
f301cdcde1
commit
a1d513bcc6
|
@ -57,6 +57,7 @@ function get_qq_info(WP_REST_Request $request)
|
||||||
$output = array(
|
$output = array(
|
||||||
'status' => 200,
|
'status' => 200,
|
||||||
'success' => true,
|
'success' => true,
|
||||||
|
'message' => 'success',
|
||||||
'avatar' => 'https://q.qlogo.cn/headimg_dl?dst_uin=' . $qq . '&spec=100',
|
'avatar' => 'https://q.qlogo.cn/headimg_dl?dst_uin=' . $qq . '&spec=100',
|
||||||
'name' => $name[$qq][6],
|
'name' => $name[$qq][6],
|
||||||
);
|
);
|
||||||
|
@ -414,4 +415,4 @@ function update_manifest_json() {
|
||||||
$result->set_headers(array('Content-Type' => 'application/json'));
|
$result->set_headers(array('Content-Type' => 'application/json'));
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue