摘要: 1.定义评论的视图函数 @app.route('/comment/',methods=['POST']) def comment(): 读取前端页面数据,保存到数据库中 2.用<input type="hidden" 方法获取前端的"question_id" 3.显示评论次数 4.要求评论前登录 5 阅读全文
posted @ 2017-12-08 18:13 064曾志彬 阅读(144) 评论(0) 推荐(0) 编辑