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

283
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": "2f9e40fa2073aef40ba0f8ab8cfd38df",
"content-hash": "896ca6dc319244fd3f1db248c6b9d8be",
"packages": [
{
"name": "adbario/php-dot-notation",
@@ -59,6 +59,281 @@
},
"time": "2022-10-14T20:31:46+00:00"
},
{
"name": "alibabacloud/credentials",
"version": "1.2.3",
"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"
},
"type": "library",
"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"
},
"time": "2025-04-18T09:09:46+00:00"
},
{
"name": "alibabacloud/darabonba",
"version": "v1.0.4",
"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"
},
"type": "library",
"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"
},
"time": "2025-12-15T10:15:24+00:00"
},
{
"name": "alibabacloud/dysmsapi-20170525",
"version": "4.5.1",
"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"
},
"type": "library",
"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"
},
"time": "2026-04-07T18:19:34+00:00"
},
{
"name": "alibabacloud/gateway-spi",
"version": "1.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"
},
"type": "library",
"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"
},
"time": "2022-07-14T05:31:35+00:00"
},
{
"name": "alibabacloud/openapi-core",
"version": "1.0.9",
"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"
},
"type": "library",
"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"
},
"time": "2026-01-15T06:47:29+00:00"
},
{
"name": "alibabacloud/tea",
"version": "3.2.1",
@@ -6011,7 +6286,7 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
@@ -6023,6 +6298,6 @@
"ext-openssl": "*",
"ext-swoole": "*"
},
"platform-dev": [],
"plugin-api-version": "2.3.0"
"platform-dev": {},
"plugin-api-version": "2.9.0"
}