摘要:
from rest_framework.response import Response # 第一种 class APIResponse(Response): def __init__(self, code=100, msg='成功', status=None, headers=None, **kw 阅读全文
摘要:
import time import datetime import locale class TimeUtil: def __init__(self, curtime=None): self.curtime = curtime def get_timestemp(self): """时间戳""" 阅读全文