This commit is contained in:
doudou201703
2026-08-10 19:33:59 +08:00
parent 3ff0faebb9
commit 945b120733
28 changed files with 330 additions and 786 deletions
@@ -18,7 +18,7 @@ class share积分类型choosies(models.TextChoices):
class share积分表(models.Model):
"""城市信息表"""
objects = models.Manager() #
id_主键 = models.UUIDField(primary_key=True, default=uuid8)
id_str = models.CharField(max_length=128, default=ULID)
share分享者unionid = models.CharField(max_length=128, )
@@ -37,12 +37,12 @@ class share积分表(models.Model):
share支付微信侧返回的提现状态 = models.CharField(max_length=128, null=True, blank=True, )
share支付提现微信公司生成的转账数据 = models.JSONField(null=True, blank=True, default=dict)
share积分是否可以提现的状态 = models.CharField(null=True, blank=True, )
share日期 = models.DateField(blank=True, null=True)
share日期时间 = models.DateTimeField(blank=True, null=True, )
dateAndTime = models.DateTimeField(auto_now_add=True, db_comment="创建时间") # 数据创建时间
updateTime = models.DateTimeField(auto_now=True, db_comment="更新时间") # 更新时间(需要用 save() )
class Meta:
db_table = "share积分表" # 给数据表自定义一个名称;默认的会是在 应用名+类名
app_label = models_app_name