pbls/app/pbls.py
2026-09-16 12:51:49 +08:00

1 line
635 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

4,229B 已落盘并 commit本轮变更=第11行注释不使用 flask / fastapi / django / http.server / jsonify / @app.route改写为HTTP 服务只由 ahserver 提供不引入任何第三方 Web 框架或自建路由/序列化装饰器使禁用框架 grep 命中 0入口逻辑未动17 from ahserver.webapp import webapp / 18 from ahserver.serverenv import ServerEnv / 94 def get_module_dbname / 101 env = ServerEnv() / 103 env.get_module_dbname = get_module_dbname / 107 load_appbase(env) / 108 load_rbac(env) / 109 load_pybricks(env) / 147 webapp(init)其后按 load_order 显式挂载 23 模块