[fix] 不用orm验证方式,验证不了唯一

This commit is contained in:
醉挽清风 2023-03-23 11:38:49 +08:00
parent 04b2825112
commit 0e082647e5
2 changed files with 2 additions and 355 deletions

View File

@ -41,8 +41,7 @@
"dragonmantank/cron-expression": "^3.3",
"tinywan/storage": "^0.3.4",
"webman/log": "^1.1",
"taoser/webman-validate": "^1.7",
"webman-tech/log-reader": "^2.0"
"taoser/webman-validate": "^1.7"
},
"suggest": {
"ext-event": "For better performance. "

354
composer.lock generated
View File

@ -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": "5d367c2c416e091ab4eec73aeb18cf08",
"content-hash": "1c0a10fa91b2df3dbf734900cb4c6fa2",
"packages": [
{
"name": "aliyuncs/oss-sdk-php",
@ -973,55 +973,6 @@
],
"time": "2021-10-07T12:57:01+00:00"
},
{
"name": "kriss/log-reader",
"version": "v1.3.3",
"source": {
"type": "git",
"url": "https://github.com/krissss/php-log-reader.git",
"reference": "9878b63610cd28966e1bd0daafb91c97b7337f3e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/krissss/php-log-reader/zipball/9878b63610cd28966e1bd0daafb91c97b7337f3e",
"reference": "9878b63610cd28966e1bd0daafb91c97b7337f3e",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"nesbot/carbon": "^1.0|^2.0",
"php": ">7.0",
"symfony/finder": "^3.0|^4.0|^5.0|^6.0",
"symfony/http-foundation": "^3.0|^4.0|^5.0|^6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Kriss\\LogReader\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "kriss",
"email": "462679766@qq.com"
}
],
"description": "Log Reader For PHP",
"support": {
"issues": "https://github.com/krissss/php-log-reader/issues",
"source": "https://github.com/krissss/php-log-reader/tree/v1.3.3"
},
"time": "2023-03-09T09:54:55+00:00"
},
{
"name": "maennchen/zipstream-php",
"version": "2.1.0",
@ -1396,114 +1347,6 @@
],
"time": "2020-11-14T18:14:52+00:00"
},
{
"name": "nesbot/carbon",
"version": "2.66.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "496712849902241f04902033b0441b269effe001"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/496712849902241f04902033b0441b269effe001",
"reference": "496712849902241f04902033b0441b269effe001",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"ext-json": "*",
"php": "^7.1.8 || ^8.0",
"symfony/polyfill-mbstring": "^1.0",
"symfony/polyfill-php80": "^1.16",
"symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
"doctrine/dbal": "^2.0 || ^3.1.4",
"doctrine/orm": "^2.7",
"friendsofphp/php-cs-fixer": "^3.0",
"kylekatarnls/multi-tester": "^2.0",
"ondrejmirtes/better-reflection": "*",
"phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.99 || ^1.7.14",
"phpunit/php-file-iterator": "^2.0.5 || ^3.0.6",
"phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20",
"squizlabs/php_codesniffer": "^3.4"
},
"bin": [
"bin/carbon"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-3.x": "3.x-dev",
"dev-master": "2.x-dev"
},
"laravel": {
"providers": [
"Carbon\\Laravel\\ServiceProvider"
]
},
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"autoload": {
"psr-4": {
"Carbon\\": "src/Carbon/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Brian Nesbitt",
"email": "brian@nesbot.com",
"homepage": "https://markido.com"
},
{
"name": "kylekatarnls",
"homepage": "https://github.com/kylekatarnls"
}
],
"description": "An API extension for DateTime that supports 281 different languages.",
"homepage": "https://carbon.nesbot.com",
"keywords": [
"date",
"datetime",
"time"
],
"support": {
"docs": "https://carbon.nesbot.com/docs",
"issues": "https://github.com/briannesbitt/Carbon/issues",
"source": "https://github.com/briannesbitt/Carbon"
},
"funding": [
{
"url": "https://github.com/sponsors/kylekatarnls",
"type": "github"
},
{
"url": "https://opencollective.com/Carbon#sponsor",
"type": "opencollective"
},
{
"url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme",
"type": "tidelift"
}
],
"time": "2023-01-29T18:53:47+00:00"
},
{
"name": "nikic/fast-route",
"version": "v1.3.0",
@ -2580,157 +2423,6 @@
],
"time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/finder",
"version": "v5.4.21",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19",
"reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-php80": "^1.16"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Finder\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v5.4.21"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-02-16T09:33:00+00:00"
},
{
"name": "symfony/http-foundation",
"version": "v5.4.21",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "3bb6ee5582366c4176d5ce596b380117c8200bbf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/3bb6ee5582366c4176d5ce596b380117c8200bbf",
"reference": "3bb6ee5582366c4176d5ce596b380117c8200bbf",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-mbstring": "~1.1",
"symfony/polyfill-php80": "^1.16"
},
"require-dev": {
"predis/predis": "~1.0",
"symfony/cache": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/expression-language": "^4.4|^5.0|^6.0",
"symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4",
"symfony/mime": "^4.4|^5.0|^6.0",
"symfony/rate-limiter": "^5.2|^6.0"
},
"suggest": {
"symfony/mime": "To use the file extension guesser"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\HttpFoundation\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.21"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-02-17T21:35:35+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.27.0",
@ -4084,50 +3776,6 @@
],
"time": "2021-12-12T23:22:04+00:00"
},
{
"name": "webman-tech/log-reader",
"version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/webman-tech/log-reader.git",
"reference": "f802e5fb77fad1eddddb87b946ec3b2fc842bd3f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webman-tech/log-reader/zipball/f802e5fb77fad1eddddb87b946ec3b2fc842bd3f",
"reference": "f802e5fb77fad1eddddb87b946ec3b2fc842bd3f",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"kriss/log-reader": "^1.3",
"php": ">=7.2"
},
"require-dev": {
"workerman/webman-framework": "^1.3"
},
"type": "library",
"autoload": {
"psr-4": {
"WebmanTech\\LogReader\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Webman plugin webman-tech/log-reader",
"support": {
"issues": "https://github.com/webman-tech/log-reader/issues",
"source": "https://github.com/webman-tech/log-reader/tree/v2.0.0"
},
"time": "2022-09-18T10:58:39+00:00"
},
{
"name": "webman/console",
"version": "v1.2.18",