chore: 清理敏感与开发文档,仅同步代码

- 永久忽略并从仓库移除 开发文档/
- 移除并忽略 .env 与小程序私有配置
- 同步小程序/管理端/API与脚本改动

Made-with: Cursor
This commit is contained in:
卡若
2026-03-17 17:50:12 +08:00
parent 868b0a10d9
commit 76965adb23
443 changed files with 24175 additions and 64154 deletions

12
scripts/test/util.py Normal file
View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
"""测试工具函数"""
def admin_headers(token):
"""管理端请求头"""
return {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}
def miniapp_headers(token):
"""小程序请求头"""
return {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}