From be06847e9ad8699c1348952a875dd7ff478dfb10 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Tue, 30 Jan 2024 14:04:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E4=BE=9B=E9=94=80?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/consumption/CommissionDao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/dao/store/consumption/CommissionDao.php b/app/common/dao/store/consumption/CommissionDao.php index acd26f4e..7cbd4354 100755 --- a/app/common/dao/store/consumption/CommissionDao.php +++ b/app/common/dao/store/consumption/CommissionDao.php @@ -171,7 +171,7 @@ class CommissionDao $iv = $aes->buildIv($timestamp); $encrypt = $aes->encrypt($json, $iv); $api = in_array($type, [1, 2]) ? 'user_first_order_share_profit' : 'user_order_share_profit'; - $url = env('task.worker_host_url') . '/api/shop_call/' . $api; + $url = env('task.new_worker_host_url') . '/api/shop_call/' . $api; $result = $curl->post($url, ['timestamp' => $timestamp, 'data' => $encrypt]); $result = json_decode($result, true); if ($result['code'] != 1) { @@ -246,7 +246,7 @@ class CommissionDao $json = ['timestamp' => $timestamp, 'data' => ['order_sn' => $refundOrder->order['order_sn']]]; $iv = $aes->buildIv($timestamp); $encrypt = $aes->encrypt($json, $iv); - $url = env('task.worker_host_url') . '/api/shop_call/handleRefund'; + $url = env('task.new_worker_host_url') . '/api/shop_call/handleRefund'; $result = $curl->post($url, ['timestamp' => $timestamp, 'data' => $encrypt]); $result = json_decode($result, true); if ($result['code'] != 1) {