From 7b65a35f5ac23ef63f3a9496c633d5f85c3bb862 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Sat, 20 Apr 2024 15:49:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8D=A2=E8=A1=8C=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/IndexController.php | 2 +- composer.json | 3 +- composer.lock | 82 +++++++++++++++++++++++++++++- 3 files changed, 84 insertions(+), 3 deletions(-) diff --git a/app/controller/IndexController.php b/app/controller/IndexController.php index 83a0cd5..4ec0f42 100644 --- a/app/controller/IndexController.php +++ b/app/controller/IndexController.php @@ -8,7 +8,7 @@ use app\result\Result; use Carbon\Carbon; use app\model\Timetable; - +use support\Log; class IndexController { public function index(Request $request) diff --git a/composer.json b/composer.json index 8cfdfe5..643b9e8 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,8 @@ "illuminate/pagination": "^8.83", "illuminate/events": "^8.83", "symfony/var-dumper": "^5.4", - "nesbot/carbon": "^2.72" + "nesbot/carbon": "^2.72", + "php-curl-class/php-curl-class": "^9.19" }, "suggest": { "ext-event": "For better performance. " diff --git a/composer.lock b/composer.lock index e377960..abeee57 100644 --- a/composer.lock +++ b/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": "ccc5378ed1f0e86d78b011265d36f7cf", + "content-hash": "870860f947931c0bd3591102a01cf66e", "packages": [ { "name": "carbonphp/carbon-doctrine-types", @@ -966,6 +966,86 @@ }, "time": "2018-02-13T20:26:39+00:00" }, + { + "name": "php-curl-class/php-curl-class", + "version": "9.19.2", + "source": { + "type": "git", + "url": "https://github.com/php-curl-class/php-curl-class.git", + "reference": "c41efeb4ea2dc3cf8f90f8f967b0fcf45a41e294" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-curl-class/php-curl-class/zipball/c41efeb4ea2dc3cf8f90f8f967b0fcf45a41e294", + "reference": "c41efeb4ea2dc3cf8f90f8f967b0fcf45a41e294", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "php": ">=7.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "*", + "ext-gd": "*", + "friendsofphp/php-cs-fixer": "*", + "phpcompatibility/php-compatibility": "dev-develop", + "phpcsstandards/phpcsutils": "@alpha", + "phpunit/phpunit": "*", + "squizlabs/php_codesniffer": "*", + "vimeo/psalm": ">=0.3.63" + }, + "suggest": { + "ext-mbstring": "*" + }, + "type": "library", + "autoload": { + "psr-4": { + "Curl\\": "src/Curl/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Unlicense" + ], + "authors": [ + { + "name": "Zach Borboa" + }, + { + "name": "Contributors", + "homepage": "https://github.com/php-curl-class/php-curl-class/graphs/contributors" + } + ], + "description": "PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.", + "homepage": "https://github.com/php-curl-class/php-curl-class", + "keywords": [ + "API-Client", + "api", + "class", + "client", + "curl", + "framework", + "http", + "http-client", + "http-proxy", + "json", + "php", + "php-curl", + "php-curl-library", + "proxy", + "requests", + "restful", + "web-scraper", + "web-scraping ", + "web-service", + "xml" + ], + "support": { + "issues": "https://github.com/php-curl-class/php-curl-class/issues", + "source": "https://github.com/php-curl-class/php-curl-class/tree/9.19.2" + }, + "time": "2024-04-09T18:03:13+00:00" + }, { "name": "psr/clock", "version": "1.0.0",