1 Star 0 Fork 0

Gandedong/信息系统项目管理师思维导图

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
app.py 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
Gandedong 提交于 2025-04-25 17:40 +08:00 . newadd
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
@app.route('/index')
def index():
return render_template('首页.html')
# 新增第1章路由
@app.route('/chapter1')
def chapter1():
return render_template('第1章.html')
@app.route('/chapter2')
def chapter2():
return render_template('第2章.html')
@app.route('/chapter3')
def chapter3():
return render_template('第3章.html')
@app.route('/chapter4')
def chapter4():
return render_template('第4章.html')
@app.route('/chapter5')
def chapter5():
return render_template('第5章.html')
@app.route('/chapter6')
def chapter6():
return render_template('第6章.html')
@app.route('/chapter7')
def chapter7():
return render_template('第7章.html')
@app.route('/chapter8')
def chapter8():
return render_template('第8章.html')
@app.route('/chapter9')
def chapter9():
return render_template('第9章.html')
@app.route('/chapter10')
def chapter10():
return render_template('第10章.html')
@app.route('/chapter11')
def chapter11():
return render_template('第11章.html')
@app.route('/chapter12')
def chapter12():
return render_template('第12章.html')
@app.route('/chapter13')
def chapter13():
return render_template('第13章.html')
if __name__ == '__main__':
app.run(debug=True)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Gandedong/4GLM.git
git@gitee.com:Gandedong/4GLM.git
Gandedong
4GLM
信息系统项目管理师思维导图
master

搜索帮助