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)])); }