class BaseResponse: def __init__(self): self.code = 1000 self.data = None self.error = None @property def dict(self): return self.__dict__
Django自定义状态码
猜你喜欢
转载自www.cnblogs.com/wt7018/p/11650390.html
今日推荐
周排行