From 4aba900abb016de71df3581eeeeff5898b007744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 26 Mar 2021 16:26:41 +0800 Subject: [PATCH] Update ExpressService.php --- app/data/service/ExpressService.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/app/data/service/ExpressService.php b/app/data/service/ExpressService.php index 787bf93aa..faadceb63 100644 --- a/app/data/service/ExpressService.php +++ b/app/data/service/ExpressService.php @@ -97,6 +97,16 @@ class ExpressService extends Service ]); } + /** + * 楚才开放平台快递公司 + * @return array + * @throws \think\admin\Exception + */ + public function company(): array + { + return $this->_getInterface()->doRequest('api.auth.express/getCompany'); + } + /** * 获取楚才开放平台接口实例 * @return InterfaceService @@ -109,15 +119,4 @@ class ExpressService extends Service $service->setAuth("6998081316132228", "193fc1d9a2aac78475bc8dbeb9a5feb1"); return $service; } - - /** - * 楚才开放平台快递公司 - * @return array - * @throws \think\admin\Exception - */ - public function company(): array - { - return $this->_getInterface()->doRequest('api.auth.express/getCompany'); - } - } \ No newline at end of file