mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -105,6 +105,13 @@ def delete():
|
||||
return file.fileDelete(path)
|
||||
|
||||
|
||||
# 删除文件
|
||||
@blueprint.route('/delete_dir', endpoint='delete_dir', methods=['POST'])
|
||||
def delete_dir():
|
||||
path = request.form.get('path', '')
|
||||
return file.dirDelete(path)
|
||||
|
||||
|
||||
# 回收站文件
|
||||
@blueprint.route('/get_recycle_bin', endpoint='get_recycle_bin', methods=['POST'])
|
||||
def get_recycle_bin():
|
||||
|
||||
Reference in New Issue
Block a user