diff --git a/pbl_blueprint/wwwroot/api/blueprint_delete.dspy b/pbl_blueprint/wwwroot/api/blueprint_delete.dspy deleted file mode 100644 index d4e102e..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_delete.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_delete.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_delete(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_delete') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_delete,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_domain_options.dspy b/pbl_blueprint/wwwroot/api/blueprint_domain_options.dspy deleted file mode 100644 index 3eb016d..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_domain_options.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_domain_options.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_domain_options(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_domain_options') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_domain_options,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_fork.dspy b/pbl_blueprint/wwwroot/api/blueprint_fork.dspy deleted file mode 100644 index ffca6a9..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_fork.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_fork.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_fork(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_fork') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_fork,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_get.dspy b/pbl_blueprint/wwwroot/api/blueprint_get.dspy deleted file mode 100644 index 18f776c..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_get.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_get.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_get(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_get') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_get,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_list.dspy b/pbl_blueprint/wwwroot/api/blueprint_list.dspy deleted file mode 100644 index bcc7973..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_list.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_list.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_list(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_list') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_list,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_publish.dspy b/pbl_blueprint/wwwroot/api/blueprint_publish.dspy deleted file mode 100644 index 35324bd..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_publish.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_publish.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_publish(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_publish') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_publish,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_save.dspy b/pbl_blueprint/wwwroot/api/blueprint_save.dspy deleted file mode 100644 index 65f8261..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_save.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_save.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_save(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_save') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_save,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_status.dspy b/pbl_blueprint/wwwroot/api/blueprint_status.dspy deleted file mode 100644 index 1ecd22e..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_status.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_status.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_status(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_status') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_status,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_status_options.dspy b/pbl_blueprint/wwwroot/api/blueprint_status_options.dspy deleted file mode 100644 index 042030b..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_status_options.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_status_options.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_status_options(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_status_options') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_status_options,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_tree.dspy b/pbl_blueprint/wwwroot/api/blueprint_tree.dspy deleted file mode 100644 index cf95422..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_tree.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_tree.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_tree(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_tree') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_tree,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_version_get.dspy b/pbl_blueprint/wwwroot/api/blueprint_version_get.dspy deleted file mode 100644 index e2eeae3..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_version_get.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_version_get.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_version_get(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_version_get') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_version_get,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/blueprint_versions.dspy b/pbl_blueprint/wwwroot/api/blueprint_versions.dspy deleted file mode 100644 index 991838a..0000000 --- a/pbl_blueprint/wwwroot/api/blueprint_versions.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/blueprint_versions.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::blueprint_versions(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('blueprint_versions') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 blueprint_versions,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/subobject_counts.dspy b/pbl_blueprint/wwwroot/api/subobject_counts.dspy deleted file mode 100644 index ffbd6f6..0000000 --- a/pbl_blueprint/wwwroot/api/subobject_counts.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/subobject_counts.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::subobject_counts(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('subobject_counts') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 subobject_counts,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/subobject_delete.dspy b/pbl_blueprint/wwwroot/api/subobject_delete.dspy deleted file mode 100644 index 87e152b..0000000 --- a/pbl_blueprint/wwwroot/api/subobject_delete.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/subobject_delete.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::subobject_delete(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('subobject_delete') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 subobject_delete,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/subobject_get.dspy b/pbl_blueprint/wwwroot/api/subobject_get.dspy deleted file mode 100644 index e06dfc0..0000000 --- a/pbl_blueprint/wwwroot/api/subobject_get.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/subobject_get.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::subobject_get(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('subobject_get') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 subobject_get,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/subobject_list.dspy b/pbl_blueprint/wwwroot/api/subobject_list.dspy deleted file mode 100644 index a165414..0000000 --- a/pbl_blueprint/wwwroot/api/subobject_list.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/subobject_list.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::subobject_list(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('subobject_list') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 subobject_list,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/subobject_save.dspy b/pbl_blueprint/wwwroot/api/subobject_save.dspy deleted file mode 100644 index 0c3e35f..0000000 --- a/pbl_blueprint/wwwroot/api/subobject_save.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/subobject_save.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::subobject_save(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('subobject_save') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 subobject_save,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/subobject_type_options.dspy b/pbl_blueprint/wwwroot/api/subobject_type_options.dspy deleted file mode 100644 index 67bb331..0000000 --- a/pbl_blueprint/wwwroot/api/subobject_type_options.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/subobject_type_options.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::subobject_type_options(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('subobject_type_options') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 subobject_type_options,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/table_manifest.dspy b/pbl_blueprint/wwwroot/api/table_manifest.dspy deleted file mode 100644 index c2ae624..0000000 --- a/pbl_blueprint/wwwroot/api/table_manifest.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/table_manifest.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::table_manifest(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('table_manifest') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 table_manifest,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/template_delete.dspy b/pbl_blueprint/wwwroot/api/template_delete.dspy deleted file mode 100644 index 2bd671d..0000000 --- a/pbl_blueprint/wwwroot/api/template_delete.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/template_delete.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::template_delete(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('template_delete') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 template_delete,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/template_from_blueprint.dspy b/pbl_blueprint/wwwroot/api/template_from_blueprint.dspy deleted file mode 100644 index 17d692b..0000000 --- a/pbl_blueprint/wwwroot/api/template_from_blueprint.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/template_from_blueprint.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::template_from_blueprint(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('template_from_blueprint') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 template_from_blueprint,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/template_get.dspy b/pbl_blueprint/wwwroot/api/template_get.dspy deleted file mode 100644 index 85ef78d..0000000 --- a/pbl_blueprint/wwwroot/api/template_get.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/template_get.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::template_get(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('template_get') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 template_get,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/template_instantiate.dspy b/pbl_blueprint/wwwroot/api/template_instantiate.dspy deleted file mode 100644 index 208fbb3..0000000 --- a/pbl_blueprint/wwwroot/api/template_instantiate.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/template_instantiate.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::template_instantiate(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('template_instantiate') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 template_instantiate,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/template_list.dspy b/pbl_blueprint/wwwroot/api/template_list.dspy deleted file mode 100644 index 7c5c3a4..0000000 --- a/pbl_blueprint/wwwroot/api/template_list.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/template_list.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::template_list(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('template_list') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 template_list,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out diff --git a/pbl_blueprint/wwwroot/api/template_save.dspy b/pbl_blueprint/wwwroot/api/template_save.dspy deleted file mode 100644 index 164036f..0000000 --- a/pbl_blueprint/wwwroot/api/template_save.dspy +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -# pbl_blueprint/template_save.dspy —— 薄接线层:仅解析入参 + 调 ServerEnv 注册的门面函数 -# 业务逻辑在 pbl_blueprint/api.py::template_save(可单测、跨宿主复用);本文件禁止 import / f-string / print / uuid -result = {'success': False, 'error': {'code': 'PBL-BOOT-001', 'msg': 'pbl_blueprint 未加载'}} -try: - _env = ServerEnv() - _apis = getattr(_env, 'pbl_blueprint_api', None) or {} - _fn = _apis.get('template_save') - if _fn is None: - raise Exception('pbl_blueprint 未注册门面函数 template_save,请先 load_pbl_blueprint()') - _args = {} - for _k in dir(params_kw): - pass - for _k in list(params_kw.keys()): - _args[_k] = params_kw[_k] - result = _fn(_args) -except Exception as _e: - result = {'success': False, 'error': {'code': 'PBL-API-001', 'msg': str(_e), 'detail': {}}} -_out = result -try: - _out = json.dumps(result, ensure_ascii=False, default=str) -except Exception: - _out = result -return _out