控制视图函数 接受 post or get 的访问方法的 写法 @web.route("/book/search" , methods=['GET', 'POST']) if request.method =="POST" : pass