Commit Graph

9 Commits

Author SHA1 Message Date
cd35c6fbed Refactor models and routes for item management
Reorganized model structure by replacing 'object' and 'items' with a unified 'item' model using UUIDs, and moved base model logic into separate files. Updated routes to use the new item model and improved request/response handling. Enhanced user and setting models, added utility functions, and improved error handling throughout the codebase. Also added initial .idea project files and minor admin API improvements.

Co-Authored-By: 砂糖橘 <54745033+Foxerine@users.noreply.github.com>
2025-10-05 18:58:46 +08:00
ee684d67cf 修复数据库调用问题 2025-10-05 12:41:33 +08:00
c1c36c606f Refactor config, logging, and startup structure
Introduced pkg modules for environment config, logging, and startup initialization. Replaced direct config and logging setup in main.py with modularized functions. Updated database and migration modules to use environment variables and improved DEBUG handling. Removed tool.py and migrated password utilities to pkg. Cleaned up legacy comments and unused code in models and routes.
2025-10-03 15:00:45 +08:00
3469ca9ab1 Merge branch 'main' into Owner-of-the-car-enhance 2025-10-03 00:09:50 +08:00
43f22de8fd 新增挪车功能 2025-10-02 21:52:52 +08:00
db77d6033b 初步迁移数据库 2025-09-28 11:49:26 +08:00
8c7a0a07ed V2.0.0-alpha2 2025-05-13 2025-05-13 00:46:06 +08:00
48ca2dcdf4 修复路由问题,改善文件树结构 2025-04-22 04:38:07 +08:00
39bbc94d07 V2.0.0-alpha1 2025-04-22 03:22:17 +08:00