From a1d513bcc696c364a7fc8bea101ba4e41c7ae352 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Tue, 3 Dec 2019 21:42:52 +0800 Subject: [PATCH] Update api.php --- inc/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/api.php b/inc/api.php index 2f27225..dd69831 100644 --- a/inc/api.php +++ b/inc/api.php @@ -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; } -} \ No newline at end of file +}