fix: 解决访问没有埋点的问题

This commit is contained in:
2025-11-10 17:28:52 +08:00
parent e440631275
commit 57dea2ca87
38 changed files with 4172 additions and 1624 deletions

37
docs/deploy.md Normal file
View File

@@ -0,0 +1,37 @@
# 部署说明
## 自动部署
### 创建部署包
```bash
# 代码示例
cd /d/projects/shop-projects/backend
/d/phpstudy_pro/Extensions/php/php7.4.3nts/php.exe ./scripts/generate_deploy_package.php --source ./src --target /d/projects/zips/php后端源码/2025-11-10 --output update.zip
# Linux
php ./scripts/generate_deploy_package.php --source ./src --target ./ftp-src --output update.zip
```
## 部署流程
``` bash
# 部署流程
cd /var/www/all_source
# 测试本地部署
php ./scripts/deploy.php --zip update.zip --target ./ftp-src --dry-run --verbose
# 实际部署
php ./scripts/deploy.php --zip update.zip --target ./ftp-src --verbose
```
### 真实环境部署
``` base
cd /www/tools
php ./deploy.php --zip update.zip --target /www/wwwroot/myweb/newfwq --dry-run --verbose
```