From 46aa0bac39ec13fc041f34207c95d1b8c432b406 Mon Sep 17 00:00:00 2001 From: muzihuaner Date: Wed, 18 Mar 2026 12:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/kd/index.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api/kd/index.php b/api/kd/index.php index d93542b..1d5f19b 100644 --- a/api/kd/index.php +++ b/api/kd/index.php @@ -1,12 +1,7 @@ $id, 'type'=>$type]); -exit; + class kuaidi { private $info = []; @@ -120,4 +115,9 @@ class kuaidi // print_r($this->array); return true; } -} \ No newline at end of file +} + +$request = need::request(); +$id = isset($request['id']) ? $request['id'] : false; +$type = isset($request['type']) ? $request['type'] : 'json'; +new kuaidi(['id'=>$id, 'type'=>$type]); \ No newline at end of file