From 7657e1b2fa251a2ea372710ad75cb395a3c0e374 Mon Sep 17 00:00:00 2001
From: hyb <kk_huangyangbo@163.com>
Date: Fri, 30 Jan 2026 07:15:55 +0000
Subject: [PATCH] feat: 新增将两种加密方式合并一个脚本、新增批量修改邮箱功能

---
 测试组/Test_platform/Interface_automation/backend/apps/lunaruser/models.py |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git "a/\346\265\213\350\257\225\347\273\204/Test_platform/Interface_automation/backend/apps/lunaruser/models.py" "b/\346\265\213\350\257\225\347\273\204/Test_platform/Interface_automation/backend/apps/lunaruser/models.py"
index 0138d52..4a7e376 100644
--- "a/\346\265\213\350\257\225\347\273\204/Test_platform/Interface_automation/backend/apps/lunaruser/models.py"
+++ "b/\346\265\213\350\257\225\347\273\204/Test_platform/Interface_automation/backend/apps/lunaruser/models.py"
@@ -2,7 +2,6 @@
 from django.contrib.auth.models import AbstractUser
 
 
-# Create your models here.
 class MyUser(AbstractUser):
     """
     使用AbstractUser可以对User进行扩展使用,添加用户自定义的属性
@@ -27,6 +26,18 @@
         null=True,
         help_text="姓名",
     )
+    STATUS_CHOICES = (
+        ('pending', '待审核'),
+        ('approved', '已通过'),
+        ('rejected', '未通过'),
+    )
+    status = models.CharField(
+        verbose_name="状态",
+        max_length=20,
+        choices=STATUS_CHOICES,
+        default='approved',
+        help_text="用户状态",
+    )
 
     class Meta(AbstractUser.Meta):
         pass

--
Gitblit v1.9.1