摘要: 定义评论的视图函数 @app.route('/comment/',methods=['POST']) def comment(): py文件: @app.route('/detail/') # 和idea的update一样,将id带到控制器 def detail(question_id): quest = Question.query... 阅读全文
posted @ 2017-12-08 20:53 007王俊祺 阅读(208) 评论(0) 推荐(0) 编辑