From f772d657656db382d971b4cca9eb41ee09a71085 Mon Sep 17 00:00:00 2001 From: nineven Date: Tue, 17 May 2022 06:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=98=E5=82=A8=E6=89=A9=E5=AE=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/api/migrations/0001_initial.py | 4 ++-- fir_ser/api/models.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fir_ser/api/migrations/0001_initial.py b/fir_ser/api/migrations/0001_initial.py index dee494e..8ee773e 100644 --- a/fir_ser/api/migrations/0001_initial.py +++ b/fir_ser/api/migrations/0001_initial.py @@ -36,8 +36,8 @@ class Migration(migrations.Migration): ('uid', models.CharField(db_index=True, max_length=64, unique=True)), ('mobile', models.BigIntegerField(db_index=True, help_text='用于手机验证码登录', null=True, verbose_name='手机')), ('is_active', models.BooleanField(default=True, verbose_name='账户状态,默认启用')), - ('storage_active', models.BooleanField(default=False, verbose_name='配置存储,默认关闭')), - ('supersign_active', models.BooleanField(default=True, verbose_name='配置超级签,默认关闭')), + ('storage_active', models.BooleanField(default=True, verbose_name='配置存储,默认启用')), + ('supersign_active', models.BooleanField(default=True, verbose_name='配置超级签,默认启用')), ('job', models.TextField(blank=True, max_length=128, null=True, verbose_name='职位')), ('company', models.CharField(blank=True, max_length=128, null=True, verbose_name='公司')), ('gender', diff --git a/fir_ser/api/models.py b/fir_ser/api/models.py index ad24399..d15fc3e 100644 --- a/fir_ser/api/models.py +++ b/fir_ser/api/models.py @@ -24,8 +24,8 @@ class UserInfo(AbstractUser): uid = models.CharField(max_length=64, unique=True, db_index=True) # user_id,唯一标识 mobile = models.BigIntegerField(verbose_name="手机", db_index=True, help_text="用于手机验证码登录", null=True) is_active = models.BooleanField(default=True, verbose_name="账户状态,默认启用") - storage_active = models.BooleanField(default=False, verbose_name="配置存储,默认关闭") - supersign_active = models.BooleanField(default=True, verbose_name="配置超级签,默认关闭") + storage_active = models.BooleanField(default=True, verbose_name="配置存储,默认启用") + supersign_active = models.BooleanField(default=True, verbose_name="配置超级签,默认启用") job = models.TextField("职位", max_length=128, blank=True, null=True) company = models.CharField("公司", max_length=128, blank=True, null=True)