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) {