摘要:
1.models.py中添加该方法,可通过该方法转dict #驼峰 def to_hump_dict(self): return {commonUtils.str2Hump(c.name): getattr(self, c.name, None) for c in self.__table__.columns} def to_dict(self): return {c.name: ... 阅读全文
posted @ 2019-03-26 16:01
zipon
阅读(387)
评论(0)
推荐(0)