📅  最后修改于: 2022-03-11 14:46:18.878000             🧑  作者: Mango
basedir = os.path.abspath(os.path.dirname(__file__))
file.save(os.path.join(basedir, app.config['UPLOAD_FOLDER'], filename))