From 4feb9890202bd2fd7bc29cc0615089bd4ec59b91 Mon Sep 17 00:00:00 2001 From: ZweiCD <416931358@qq.com> Date: Mon, 23 Mar 2020 18:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96gwall=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=90=8C=E6=AD=A5=E7=9A=84=E8=BF=94=E5=9B=9E=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/GwallWms.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/GwallWms.php b/src/GwallWms.php index 13884ba..c4c7993 100644 --- a/src/GwallWms.php +++ b/src/GwallWms.php @@ -182,6 +182,14 @@ class GwallWms extends BaseWms implements WmsInterface ]; $result = $this->request($service, $postData); + if ($result['success']) { + $result = array_merge($result, [ + 'response' => [ + 'message' => $result['response'], + 'itemId' => $params['wms_code'], + ], + ]); + } return $result; }