From 9de5f02993217c697b3be3cc7d1efaf64d2815c2 Mon Sep 17 00:00:00 2001 From: Gosowong <1329847115@qq.com> Date: Wed, 24 May 2023 09:38:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E8=B7=AF=E5=8A=B2?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/adminapi/controller/v1/setting/SystemConfig.php | 2 +- crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crmeb/app/adminapi/controller/v1/setting/SystemConfig.php b/crmeb/app/adminapi/controller/v1/setting/SystemConfig.php index fdfe3188c..d4e1c27a9 100644 --- a/crmeb/app/adminapi/controller/v1/setting/SystemConfig.php +++ b/crmeb/app/adminapi/controller/v1/setting/SystemConfig.php @@ -332,7 +332,7 @@ class SystemConfig extends AuthController if ($post['reward_integral'] < 0 || $post['reward_money'] < 0) return app('json')->fail(400558); } - if (isset($post['order_shipping_open']) && $post['order_shipping_open'] == 1 && isset($post['order_shipping_url']) && $post['order_shipping_url'] !== "") { + if (isset($post['order_shipping_open']) && $post['order_shipping_open'] == 1 && isset($post['order_shipping_url'])) { MiniOrderService::setMesJumpPathAndCheck($post['order_shipping_url']); } foreach ($post as $k => $v) { diff --git a/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php b/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php index db02f42f4..def23811c 100644 --- a/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php +++ b/crmeb/crmeb/services/easywechat/orderShipping/BaseOrder.php @@ -181,7 +181,7 @@ class BaseOrder extends AbstractAPI public function setMesJumpPath($path) { $params = [ - 'path' => '/pages/user/index' + 'path' => $path ]; return $this->resultHandle($this->parseJSON('POST', [self::BASE_API . self::ORDER . 'set_msg_jump_path', json_encode($params)])); }