Merge pull request '修改新供销平台域名' (#146) from hot_fix into master

Reviewed-on: #146
This commit is contained in:
mkm 2024-01-30 14:07:38 +08:00
commit 4f8e1a37e7

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