摘要:
定义评论的视图函数@app.route('/comment/',methods=['POST'])def comment():读取前端页面数据,保存到数据库中 @app.route('/comment/',methods=['POST']) @loginFirst def comment(): comment=request.form.get('new_comment') qu... 阅读全文
posted @ 2017-12-08 09:57
034陈妍希
阅读(127)
评论(0)
推荐(0)
浙公网安备 33010602011771号