功能变化: 用户类型

pull/102/MERGE
李强 2023-07-30 21:19:03 +08:00
parent 741cc62573
commit d42e54b1c2
1 changed files with 1 additions and 3 deletions

View File

@ -35,9 +35,7 @@ class Users(CoreModel, AbstractUser):
) )
USER_TYPE = ( USER_TYPE = (
(0, "后台用户"), (0, "后台用户"),
(1, "消费者用户"), (1, "前台用户"),
(2, "码包接收方"),
(3, "经销商用户"),
) )
user_type = models.IntegerField( user_type = models.IntegerField(
choices=USER_TYPE, default=0, verbose_name="用户类型", null=True, blank=True, help_text="用户类型" choices=USER_TYPE, default=0, verbose_name="用户类型", null=True, blank=True, help_text="用户类型"