From 4f00b931f568c47bb9bef3442529a338322db5b0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 26 Aug 2026 15:39:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(product=5Fmanagement):=20=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E4=BA=A7=E5=93=81=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - app/pipeline_app.py: load_product_management(),置于资源模块之后 (产品层通过 env.product_interface 调 account_resource/storage_resource) - 打通资源→产品→定价→折扣→出账链路 --- app/pipeline_app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/pipeline_app.py b/app/pipeline_app.py index 9f0c04a..cbbc575 100644 --- a/app/pipeline_app.py +++ b/app/pipeline_app.py @@ -86,6 +86,11 @@ def init(): from storage_resource.init import load_storage_resource except ImportError: def load_storage_resource(): pass + # product_management:产品层,通过 env.product_interface 调资源模块 + try: + from product_management import load_product_management + except ImportError: + def load_product_management(): pass set_globalvariable() ServerEnv().get_module_dbname = get_module_dbname @@ -103,6 +108,7 @@ def init(): load_unipay() load_account_resource() load_storage_resource() + load_product_management() # 产品层:依赖资源模块的 product_interface load_pipeline_service() load_sdlc_adapter() load_app_audit()