|
@@ -130,6 +130,7 @@ class VirusAdd extends Command
|
|
|
$json = [];
|
|
|
if($data['behavior_flag'] == 'publish'){
|
|
|
$json = [
|
|
|
+ 'sign' => $sign,
|
|
|
'app_id' => config('customer.VIRUS_APP_ID'),
|
|
|
'behavior_id' => $data['behavior_id'],
|
|
|
'behavior_flag' => $data['behavior_flag'],
|
|
@@ -146,8 +147,7 @@ class VirusAdd extends Command
|
|
|
|
|
|
$response = $this->client->request('POST', 'v2/record/add', [
|
|
|
'headers' => [
|
|
|
- 'Content-Type' => 'application/json',
|
|
|
- 'sign' => $sign
|
|
|
+ 'Content-Type' => 'application/json'
|
|
|
],
|
|
|
'json' => $json
|
|
|
]);
|