From fd10398ef75b25a5ed353b32319c0b8d9b8793be Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 10 Feb 2022 17:11:54 +0800 Subject: [PATCH 1/2] 1 --- webapp/controller/RestApiController.class.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 webapp/controller/RestApiController.class.php diff --git a/webapp/controller/RestApiController.class.php b/webapp/controller/RestApiController.class.php new file mode 100644 index 00000000..60e3c15d --- /dev/null +++ b/webapp/controller/RestApiController.class.php @@ -0,0 +1,30 @@ +_rspOk(); + } + +} From 96549b4f1aa2e45fe17c2c731e2ebce8b78c19b5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 10 Feb 2022 17:17:22 +0800 Subject: [PATCH 2/2] 1 --- webapp/controller/RestApiController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/RestApiController.class.php b/webapp/controller/RestApiController.class.php index 60e3c15d..37ee423b 100644 --- a/webapp/controller/RestApiController.class.php +++ b/webapp/controller/RestApiController.class.php @@ -24,7 +24,7 @@ class RestApiController extends BaseController { public function dispatch() { - myself()->_rspOk(); + //REQUEST_URI /api/nft?dafsf=1%26= } }