From 96378ff0d48c34a6703bd28f791182122ee176e3 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 18 Sep 2019 09:53:39 +0800 Subject: [PATCH] Update Express.php --- application/store/controller/api/Express.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/store/controller/api/Express.php b/application/store/controller/api/Express.php index eba185af9..8c2c02b6c 100644 --- a/application/store/controller/api/Express.php +++ b/application/store/controller/api/Express.php @@ -18,7 +18,7 @@ namespace app\store\controller\api; use library\Controller; /** - * 快递查询结果 + * 快递查询接口 * Class Express * @package app\store\controller\api */ @@ -29,9 +29,9 @@ class Express extends Controller */ public function query() { - $express_no = $this->request->post('express_no', ''); - $express_code = $this->request->post('express_code', ''); - $result = \library\tools\Express::query($express_code, $express_no); + $this->expressNo = input('express_no', ''); + $this->expressCode = input('express_code', ''); + $result = \library\tools\Express::query($this->expressCode, $this->expressNo); $this->success('获取物流查询结果!', $result); }