返回 script

                return Content("<script>window.alert('请选择要导入的文件!');history.go(-1);</script>", "text/html;charset=utf-8");
原文地址:https://www.cnblogs.com/enych/p/14861329.html