This commit is contained in:
mkm 2024-01-31 11:03:00 +08:00
parent 76957dec1d
commit 95dfb48ce9

View File

@ -141,10 +141,10 @@ class CommissionDao
$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;
$result = $curl->post($url, ['timestamp' => $timestamp, 'data' => $encrypt]);
$result = json_decode($result, true);
if ($result['code'] != 1) {
Log::error('发送佣金失败:' . var_export($result, true));
}
// $result = json_decode($result, true);
// if ($result['code'] != 1) {
// Log::error('发送佣金失败:' . var_export($result, true));
// }
}
/**