摘要: #定义装饰器 def addLog(type,moudle,detail): def dec(func): @functools.wraps(func) def wrapper(*args,**kwargs): # 视图函数执行之前的逻辑 func1 = func(*args,**kwargs) # 阅读全文
posted @ 2022-07-15 16:59 ☞@_@ 阅读(5) 评论(0) 推荐(0) 编辑