时间装饰器(毫秒) def time_log(func): """时间戳装饰器""" @functools.wraps(func) def wrap(self, *args, **kwargs): t1 = pd