完善 .gitignore:忽略 backend storage 运行时文件

限流缓存、日志、用户文件、微信证书缓存等目录仅保留 .gitkeep;从版本库移除已误提交的 rate/*.json。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24kycj
2026-06-11 11:07:48 +08:00
parent 4ce4486b26
commit 55a6029779
6 changed files with 6 additions and 5 deletions
+6
View File
@@ -11,7 +11,13 @@ docker/.env
docker/config/local.php
docker/config/local.js
soonModels/*.soon
# backend-web 运行时 storage(仅保留各目录 .gitkeep
backend-web/storage/payment/*
backend-web/storage/cache/rate/*
backend-web/storage/cache/wechat_certs/*
backend-web/storage/logs/*
backend-web/storage/users/*
backend-web/storage/templates/*
!backend-web/storage/**/.gitkeep
*.log
*.tmp
@@ -1 +0,0 @@
{"start":1780902406,"count":11}
@@ -1 +0,0 @@
{"start":1780911074,"count":3}
@@ -1 +0,0 @@
{"start":1780907292,"count":2}
@@ -1 +0,0 @@
{"start":1780908575,"count":1}
@@ -1 +0,0 @@
{"start":1780893461,"count":1}