完善开发文档与调整初始化项目架构

This commit is contained in:
wojiaoyishang
2025-01-28 17:47:41 +08:00
parent da5917344e
commit 41bda82c60
13 changed files with 316 additions and 9 deletions
+18 -1
View File
@@ -110,4 +110,21 @@
.. code-block:: python
from applications.common.admin import admin_log
from applications.common.admin import admin_log
验证码生成路由修改
~~~~~~~~~~~~~~~~~~~~~~~~
为了优化代码,将验证码生成路由改为了 system.passport.captcha 。这主要会影响前端模板渲染。
例如:
.. code-block:: html
url_for('system.passport.get_captcha')
改为:
.. code-block:: python
url_for('system.passport.captcha')