Restructure into modules/ with single-process CTP and config/ layout.
Move business code under modules/, env template to config/, PM2 single qihuo process, and _legacy shims for old imports. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2025-2026 马建军. All rights reserved.
|
||||
|
||||
from modules.market.routes import register
|
||||
|
||||
|
||||
def start_workers(deps) -> None:
|
||||
deps.start_background_threads()
|
||||
|
||||
|
||||
__all__ = ["register", "start_workers"]
|
||||
Reference in New Issue
Block a user