瀏覽代碼

自定义请求url

durong 5 年之前
父節點
當前提交
e8d0f7a7a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Repositories/Behavior/BehaviorRepository.php

+ 1 - 1
app/Repositories/Behavior/BehaviorRepository.php

@@ -29,7 +29,7 @@ class BehaviorRepository
             ksort($signKey);
             $signKey = urldecode(http_build_query($signKey));
             $sign = md5(config('constants.VIRUS_APP_SECRET') . $signKey);
-            $url = config("customer.manage_service_url") . '/virus/behaviorList';
+            $url = config('constants.VIRUS_URL') . '/behaviorList';
             $array = [
                 'json' => ['app' => $app,'sign' => $sign], 'query' => [], 'http_errors' => false, 'headers' => ['Authorization' => "Bearer " . JWTAuth::getToken()]
             ];