feat: 添加阿里云短信服务支持并优化验证码逻辑

- 引入 alibabacloud/dysmsapi-20170525 依赖,集成阿里云短信服务
- 将短信验证码从6位改为4位,优化用户体验
- 添加聚水潭商品按时间范围同步功能,支持分页拉取
- 增强Cron任务异常处理,添加错误日志记录
- 修复系统附件服务中图片路径处理逻辑
- 更新阿里云SDK相关组件至最新版本
- 添加think-trace调试扩展,便于问题排查
- 优化跨域中间件,使用str_contains替代strpos
This commit is contained in:
2026-04-30 15:19:40 +08:00
parent 0334fef6c1
commit c7f85ffbda
565 changed files with 59742 additions and 3391 deletions

View File

@@ -56,6 +56,296 @@
},
"install-path": "../adbario/php-dot-notation"
},
{
"name": "alibabacloud/credentials",
"version": "1.2.3",
"version_normalized": "1.2.3.0",
"source": {
"type": "git",
"url": "https://github.com/aliyun/credentials-php.git",
"reference": "f6d1986e7b7be8da781d0b99f24c92d9860ba0c1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aliyun/credentials-php/zipball/f6d1986e7b7be8da781d0b99f24c92d9860ba0c1",
"reference": "f6d1986e7b7be8da781d0b99f24c92d9860ba0c1",
"shasum": ""
},
"require": {
"adbario/php-dot-notation": "^2.2",
"alibabacloud/tea": "^3.0",
"ext-curl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-simplexml": "*",
"ext-xmlwriter": "*",
"guzzlehttp/guzzle": "^6.3|^7.0",
"php": ">=5.6"
},
"require-dev": {
"composer/composer": "^1.8",
"drupal/coder": "^8.3",
"ext-dom": "*",
"ext-pcre": "*",
"ext-sockets": "*",
"ext-spl": "*",
"mikey179/vfsstream": "^1.6",
"monolog/monolog": "^1.24",
"phpunit/phpunit": "^5.7|^6.6|^9.3",
"psr/cache": "^1.0",
"symfony/dotenv": "^3.4",
"symfony/var-dumper": "^3.4"
},
"suggest": {
"ext-sockets": "To use client-side monitoring"
},
"time": "2025-04-18T09:09:46+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"AlibabaCloud\\Credentials\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Alibaba Cloud SDK",
"email": "sdk-team@alibabacloud.com",
"homepage": "http://www.alibabacloud.com"
}
],
"description": "Alibaba Cloud Credentials for PHP",
"homepage": "https://www.alibabacloud.com/",
"keywords": [
"alibaba",
"alibabacloud",
"aliyun",
"client",
"cloud",
"credentials",
"library",
"sdk",
"tool"
],
"support": {
"issues": "https://github.com/aliyun/credentials-php/issues",
"source": "https://github.com/aliyun/credentials-php"
},
"install-path": "../alibabacloud/credentials"
},
{
"name": "alibabacloud/darabonba",
"version": "v1.0.4",
"version_normalized": "1.0.4.0",
"source": {
"type": "git",
"url": "https://github.com/alibabacloud-sdk-php/darabonba.git",
"reference": "b1ccea693258ea68e455e330922406f3afe10e9c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/alibabacloud-sdk-php/darabonba/zipball/b1ccea693258ea68e455e330922406f3afe10e9c",
"reference": "b1ccea693258ea68e455e330922406f3afe10e9c",
"shasum": ""
},
"require": {
"adbario/php-dot-notation": "^2.4",
"alibabacloud/tea": "^3.2",
"ext-curl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-simplexml": "*",
"ext-xmlwriter": "*",
"guzzlehttp/guzzle": "^6.3|^7.0",
"php": ">=5.5"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35|^5.4.3|^9.3",
"symfony/dotenv": "^3.4",
"symfony/var-dumper": "^3.4"
},
"suggest": {
"ext-sockets": "To use client-side monitoring"
},
"time": "2025-12-15T10:15:24+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"AlibabaCloud\\Dara\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Alibaba Cloud SDK",
"email": "sdk-team@alibabacloud.com",
"homepage": "http://www.alibabacloud.com"
}
],
"description": "Client of Darabonba for PHP",
"homepage": "https://www.alibabacloud.com/",
"keywords": [
"alibabacloud",
"client",
"cloud",
"tea"
],
"support": {
"issues": "https://github.com/aliyun/tea-php/issues",
"source": "https://github.com/aliyun/tea-php"
},
"install-path": "../alibabacloud/darabonba"
},
{
"name": "alibabacloud/dysmsapi-20170525",
"version": "4.5.1",
"version_normalized": "4.5.1.0",
"source": {
"type": "git",
"url": "https://github.com/alibabacloud-sdk-php/Dysmsapi-20170525.git",
"reference": "1361ecae87674e883cc6e1251033693e3ba0e38d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/alibabacloud-sdk-php/Dysmsapi-20170525/zipball/1361ecae87674e883cc6e1251033693e3ba0e38d",
"reference": "1361ecae87674e883cc6e1251033693e3ba0e38d",
"shasum": ""
},
"require": {
"alibabacloud/darabonba": "^1.0.0",
"alibabacloud/openapi-core": "^1.0.0",
"php": ">5.5"
},
"time": "2026-04-07T18:19:34+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"AlibabaCloud\\SDK\\Dysmsapi\\V20170525\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Alibaba Cloud SDK",
"email": "sdk-team@alibabacloud.com"
}
],
"description": "Alibaba Cloud Dysmsapi (20170525) SDK Library for PHP",
"support": {
"source": "https://github.com/alibabacloud-sdk-php/Dysmsapi-20170525/tree/4.5.1"
},
"install-path": "../alibabacloud/dysmsapi-20170525"
},
{
"name": "alibabacloud/gateway-spi",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"source": {
"type": "git",
"url": "https://github.com/alibabacloud-sdk-php/alibabacloud-gateway-spi.git",
"reference": "7440f77750c329d8ab252db1d1d967314ccd1fcb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/alibabacloud-sdk-php/alibabacloud-gateway-spi/zipball/7440f77750c329d8ab252db1d1d967314ccd1fcb",
"reference": "7440f77750c329d8ab252db1d1d967314ccd1fcb",
"shasum": ""
},
"require": {
"alibabacloud/credentials": "^1.1",
"php": ">5.5"
},
"time": "2022-07-14T05:31:35+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"Darabonba\\GatewaySpi\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Alibaba Cloud SDK",
"email": "sdk-team@alibabacloud.com"
}
],
"description": "Alibaba Cloud Gateway SPI Client",
"support": {
"source": "https://github.com/alibabacloud-sdk-php/alibabacloud-gateway-spi/tree/1.0.0"
},
"install-path": "../alibabacloud/gateway-spi"
},
{
"name": "alibabacloud/openapi-core",
"version": "1.0.9",
"version_normalized": "1.0.9.0",
"source": {
"type": "git",
"url": "https://github.com/alibabacloud-sdk-php/openapi-core.git",
"reference": "7b241b2a0e71f70629e2ecdc5cbe8c8b6b3a7567"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/alibabacloud-sdk-php/openapi-core/zipball/7b241b2a0e71f70629e2ecdc5cbe8c8b6b3a7567",
"reference": "7b241b2a0e71f70629e2ecdc5cbe8c8b6b3a7567",
"shasum": ""
},
"require": {
"alibabacloud/credentials": "^1.2.2",
"alibabacloud/darabonba": "^1",
"alibabacloud/gateway-spi": "^1",
"php": ">5.5"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35|^5.4.3|^9.3",
"symfony/dotenv": "^3.4",
"symfony/var-dumper": "^3.4"
},
"time": "2026-01-15T06:47:29+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"Darabonba\\OpenApi\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Alibaba Cloud SDK",
"email": "sdk-team@alibabacloud.com"
}
],
"description": "Alibaba Cloud OpenApi Client Core",
"support": {
"issues": "https://github.com/alibabacloud-sdk-php/openapi-core/issues",
"source": "https://github.com/alibabacloud-sdk-php/openapi-core/tree/1.0.9"
},
"install-path": "../alibabacloud/openapi-core"
},
{
"name": "alibabacloud/tea",
"version": "3.2.1",
@@ -5189,6 +5479,103 @@
],
"install-path": "../symfony/translation-contracts"
},
{
"name": "symfony/var-dumper",
"version": "v6.0.19",
"version_normalized": "6.0.19.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "eb980457fa6899840fe1687e8627a03a7d8a3d52"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/eb980457fa6899840fe1687e8627a03a7d8a3d52",
"reference": "eb980457fa6899840fe1687e8627a03a7d8a3d52",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=8.0.2",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
"phpunit/phpunit": "<5.4.3",
"symfony/console": "<5.4"
},
"require-dev": {
"ext-iconv": "*",
"symfony/console": "^5.4|^6.0",
"symfony/process": "^5.4|^6.0",
"symfony/uid": "^5.4|^6.0",
"twig/twig": "^2.13|^3.0.4"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
"ext-intl": "To show region name in time zone dump",
"symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
},
"time": "2023-01-20T17:44:14+00:00",
"bin": [
"Resources/bin/var-dump-server"
],
"type": "library",
"installation-source": "dist",
"autoload": {
"files": [
"Resources/functions/dump.php"
],
"psr-4": {
"Symfony\\Component\\VarDumper\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Provides mechanisms for walking through any arbitrary PHP variable",
"homepage": "https://symfony.com",
"keywords": [
"debug",
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.0.19"
},
"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"
}
],
"install-path": "../symfony/var-dumper"
},
{
"name": "symfony/var-exporter",
"version": "v6.0.19",
@@ -5911,6 +6298,66 @@
},
"install-path": "../topthink/think-throttle"
},
{
"name": "topthink/think-trace",
"version": "v1.6",
"version_normalized": "1.6.0.0",
"source": {
"type": "git",
"url": "https://github.com/top-think/think-trace.git",
"reference": "136cd5d97e8bdb780e4b5c1637c588ed7ca3e142"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/top-think/think-trace/zipball/136cd5d97e8bdb780e4b5c1637c588ed7ca3e142",
"reference": "136cd5d97e8bdb780e4b5c1637c588ed7ca3e142",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=7.1.0",
"topthink/framework": "^6.0|^8.0"
},
"time": "2023-02-07T08:36:32+00:00",
"type": "library",
"extra": {
"think": {
"services": [
"think\\trace\\Service"
],
"config": {
"trace": "src/config.php"
}
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"think\\trace\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "liu21st",
"email": "liu21st@gmail.com"
}
],
"description": "thinkphp debug trace",
"support": {
"issues": "https://github.com/top-think/think-trace/issues",
"source": "https://github.com/top-think/think-trace/tree/v1.6"
},
"install-path": "../topthink/think-trace"
},
{
"name": "topthink/think-view",
"version": "v2.0.0",
@@ -6114,6 +6561,9 @@
"install-path": "../xaboy/form-builder"
}
],
"dev": false,
"dev-package-names": []
"dev": true,
"dev-package-names": [
"symfony/var-dumper",
"topthink/think-trace"
]
}