装饰器的本质就是返回一个函数
def test(func):
def inner():
print("装饰器")
func()
return inner
@test
def test1():
print("调用")
def test(func):
def inner():
print("装饰器")
func()
return inner
@test
def test1():
print("调用")