摘要: 动态路由 # 路由传递的参数默认当做string 处理,这里指定int,尖括号中冒号后面的内容是动态的 @app.route('/user/<int:id>')def hello_itcast(id): return id 自定义转换器 from flask import Flaskfrom wer 阅读全文
posted @ 2021-09-14 13:53 Tester-** 阅读(60) 评论(0) 推荐(0) 编辑