添加供销平台佣金日志

This commit is contained in:
luofei 2024-02-04 09:31:56 +08:00
parent 15d886e0d4
commit 4d7c3bafc8

View File

@ -142,10 +142,10 @@ class CommissionDao
$api = in_array($type, [1, 2]) ? 'user_first_order_share_profit' : 'user_order_share_profit'; $api = in_array($type, [1, 2]) ? 'user_first_order_share_profit' : 'user_order_share_profit';
$url = env('task.new_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 = $curl->post($url, ['timestamp' => $timestamp, 'data' => $encrypt]);
// $result = json_decode($result, true); $result = json_decode($result, true);
// if ($result['code'] != 1) { if ($result['code'] != 1) {
// Log::error('发送佣金失败:' . var_export($result, true)); Log::info('发送佣金失败:' . var_export($result, true));
// } }
} }
/** /**