From c8b8d22e4ce2d342b762b294301aecb0832ecd59 Mon Sep 17 00:00:00 2001 From: Gosowong <1329847115@qq.com> Date: Thu, 11 May 2023 09:32:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/adminapi/controller/Test.php | 9 ++++++++- .../services/easywechat/orderShipping/BaseOrder.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/crmeb/app/adminapi/controller/Test.php b/crmeb/app/adminapi/controller/Test.php index 9d0b051e4..217fe65eb 100644 --- a/crmeb/app/adminapi/controller/Test.php +++ b/crmeb/app/adminapi/controller/Test.php @@ -6,11 +6,18 @@ namespace app\adminapi\controller; +use crmeb\services\easywechat\orderShipping\MiniOrderService; + class Test { public function index() { - + $ship_list = [ + [ + 'item_desc' => '蓝牙音乐手表 | Jeep智能表蓝牙' + ] + ]; + MiniOrderService::shippingByTradeNo('cp179280225803173888', 3, $ship_list, 'oZEAhsy60rrq96hE86LmBb9v_Kes'); } } diff --git a/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php b/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php index 83daba646..ca1cba014 100644 --- a/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php +++ b/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php @@ -94,7 +94,7 @@ class BaseOrder extends AbstractAPI public function isManaged() { $params = [ - 'appid' => $this->config['order_shipping']['appid'] + 'appid' => $this->config['config']['order_shipping']['appid'] ]; return $this->resultHandle($this->parseJSON('POST', [self::BASE_API . self::ORDER . 'notify_confirm_receive', json_encode($params)])); }