摘要: import basehash class Hasher: """ 对数据库ID进行散列化计算 """ base36 = basehash.base62(11) @classmethod def from_model(cls, obj): if obj.pk is None: return None ... 阅读全文
posted @ 2019-08-02 09:07 前方、有光 阅读(244) 评论(4) 推荐(0) 编辑