功能变化: 用户类型
parent
741cc62573
commit
d42e54b1c2
|
@ -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="用户类型"
|
||||||
|
|
Loading…
Reference in New Issue