参考 https://www.cnblogs.com/cicaday/p/python-decorator.html 转载于:https://www.cnblogs.com/weiwuxian/p/11368939.html