更新
This commit is contained in:
parent
76957dec1d
commit
95dfb48ce9
@ -141,10 +141,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::error('发送佣金失败:' . var_export($result, true));
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user