在丝路新程的API接口鉴权中,使用了装饰器。请问以下代码的输出顺序是?
def auth_decorator(func):
def wrapper():
print("Auth Check")
func()
print("Log Access")
return wrapper
@auth_decorator
def api_call():
print("API Executed")
api_call()
Auth Check -> API Executed -> Log Access
API Executed -> Auth Check -> Log Access
Auth Check -> Log Access -> API Executed
API Executed -> Log Access -> Auth Check