修改新供销平台域名

This commit is contained in:
luofei 2024-01-30 14:05:11 +08:00
parent 0a4bacb5d2
commit 5ea2431c08

View File

@ -152,7 +152,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) {