Browse Source

添加任务规则接口型加字段

15313670163 4 months ago
parent
commit
a05f1cce09
2 changed files with 3 additions and 71 deletions
  1. 2 2
      app/Controller/CollectorController.php
  2. 1 69
      composer.lock

+ 2 - 2
app/Controller/CollectorController.php

@@ -830,9 +830,9 @@ class CollectorController extends AbstractController
         $data['rule_id'] = $requireData['rule_id'];
         $data['time'] = microtime();
         
-        // var_dump("=====111");
+        var_dump("=====111",$data);
         $result  = $this->collectorServiceClient->addArt($data);
-        // var_dump("=====111",$result);
+        var_dump("=====222",$result);
         return Result::success($result);
     }
    

+ 1 - 69
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "3b325c616f7faa9a2ba0b92efe126cac",
+    "content-hash": "408b8e53c4a0d313ed75355b91296895",
     "packages": [
         {
             "name": "carbonphp/carbon-doctrine-types",
@@ -3571,74 +3571,6 @@
             ],
             "time": "2024-09-25T02:54:12+00:00"
         },
-        {
-            "name": "hyperf/paginator",
-            "version": "v3.1.42",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/hyperf/paginator.git",
-                "reference": "b637a3deeee69f4a3e5a6d62ab8214244b98412a"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/hyperf/paginator/zipball/b637a3deeee69f4a3e5a6d62ab8214244b98412a",
-                "reference": "b637a3deeee69f4a3e5a6d62ab8214244b98412a",
-                "shasum": ""
-            },
-            "require": {
-                "hyperf/contract": "~3.1.0",
-                "hyperf/support": "~3.1.0",
-                "hyperf/utils": "~3.1.0",
-                "php": ">=8.1"
-            },
-            "suggest": {
-                "hyperf/event": "Reqiured to use PageResolverListener.",
-                "hyperf/framework": "Reqiured to use PageResolverListener.",
-                "hyperf/http-server": "Reqiured to use PageResolverListener."
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "3.1-dev"
-                },
-                "hyperf": {
-                    "config": "Hyperf\\Paginator\\ConfigProvider"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "Hyperf\\Paginator\\": "src/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "description": "A paginator component for hyperf.",
-            "homepage": "https://hyperf.io",
-            "keywords": [
-                "hyperf",
-                "paginator",
-                "php"
-            ],
-            "support": {
-                "docs": "https://hyperf.wiki",
-                "issues": "https://github.com/hyperf/hyperf/issues",
-                "pull-request": "https://github.com/hyperf/hyperf/pulls",
-                "source": "https://github.com/hyperf/hyperf"
-            },
-            "funding": [
-                {
-                    "url": "https://hyperf.wiki/#/zh-cn/donate",
-                    "type": "custom"
-                },
-                {
-                    "url": "https://opencollective.com/hyperf",
-                    "type": "open_collective"
-                }
-            ],
-            "time": "2024-09-25T02:54:12+00:00"
-        },
         {
             "name": "hyperf/pipeline",
             "version": "v3.1.42",