修改新供销平台域名
This commit is contained in:
parent
0a4bacb5d2
commit
5ea2431c08
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user