From e9f703449910d6345d0ca06acc94193d89cb0551 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 20 Jun 2022 16:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D/api/nft=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/RestApiController.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/controller/RestApiController.class.php b/webapp/controller/RestApiController.class.php index 5c0b603d..5aa14089 100644 --- a/webapp/controller/RestApiController.class.php +++ b/webapp/controller/RestApiController.class.php @@ -39,6 +39,8 @@ class RestApiController extends BaseController { return; } if ($idx == 0) { + $tmpStrs = explode('?', $requestUri); + $requestUri = count($tmpStrs) > 0 ? $tmpStrs[0] : ''; $this->nftInfo(explode('/', $requestUri)); } }