1)[1] in ALLOWED_EXTENSIONS # 上传文件@app.route('/api/upload', ... f = request.files['myfile'] # 从表单的file字段获取文件,myfile为该表单 ...
確定! 回上一頁