摘要: 定义评论的视图函数@app.route('/comment/',methods=['POST'])def comment():读取前端页面数据,保存到数据库中 用',methods=['GET','POST']) def detail(question_id): quest=Question.query.filter(Question.id == question_id).first()... 阅读全文
posted @ 2017-12-08 19:19 017黄乐仪 阅读(110) 评论(0) 推荐(0) 编辑