feat: integrate product_management module - import, load, build loop, RBAC permissions

This commit is contained in:
yumoqing 2026-05-25 15:24:12 +08:00
parent 8260637bf2
commit c5d6ec6c8f
3 changed files with 27 additions and 2 deletions

View File

@ -29,6 +29,7 @@ from dashboard_for_sage.init import load_dashboard_for_sage
from global_func import set_globalvariable
from unipay.init import load_unipay
from platformbiz.init import load_platformbiz
from product_management.init import load_product_management
from accounting.init import load_accounting
from smssend import load_smssend
from ext import *
@ -44,8 +45,9 @@ def init():
load_accounting()
load_unipay()
load_platformbiz()
load_llmage()
load_product_management()
load_filemgr()
load_llmage()
load_uapi()
load_dapi()
load_msp()

View File

@ -26,7 +26,7 @@ do
cd $m
$cdir/py3/bin/pip install .
done
for m in appbase rbac accounting llmage platformbiz msp cpcc unipay filemgr dapi uapi rag charge pricing discount harnessed_agent harnessed_reasoning dashboard_for_sage
for m in appbase rbac accounting llmage platformbiz msp cpcc unipay filemgr dapi uapi rag charge pricing discount harnessed_agent harnessed_reasoning dashboard_for_sage product_management
do
echo "install $m module..."
cd $cdir/pkgs

View File

@ -1088,6 +1088,29 @@ paths="""/ any
/unipay/imgs/payment_log.svg any
/unipay/usermenu.ui logined
/unipay/refund.ui customer.*
/product_management logined
/product_management/index.ui logined
/product_management/menu.ui any
/product_management/category_manage.ui logined
/product_management/product_manage.ui logined
/product_management/product_type_config_manage.ui logined
/product_management/api/category_options.dspy logined
/product_management/api/product_category_create.dspy logined
/product_management/api/product_category_update.dspy logined
/product_management/api/product_category_delete.dspy logined
/product_management/api/product_create.dspy logined
/product_management/api/product_update.dspy logined
/product_management/api/product_delete.dspy logined
/product_management/api/product_type_config_create.dspy logined
/product_management/api/product_type_config_update.dspy logined
/product_management/api/product_type_config_delete.dspy logined
/product_management/api/product_brief.dspy logined
/product_management/api/product_detail.dspy logined
/product_management/api/product_purchase.dspy logined
/product_management/api/product_use.dspy logined
/product_management/product_category_tree logined
/product_management/product_list logined
/product_management/product_type_config_list logined
"""