<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                * 新建數據模型`PageRoles`和`UserProfile` 修改文件`/api/models.py` ```python from django.db import models from django.contrib.auth.models import AbstractUser # 頁面權限表 class PageRoles(models.Model): name = models.CharField("角色", max_length=100, unique=True, null=True, blank=True) roles = models.CharField("權限", max_length=500, null=True, blank=True) operator = models.CharField("最后操作人ID", max_length=20, null=True, blank=True) credate = models.DateTimeField("創建時間", auto_now_add=True, null=True, blank=True) edidate = models.DateTimeField("修改時間", auto_now=True, null=True, blank=True) class Meta: verbose_name = "頁面權限表" verbose_name_plural = verbose_name # 用戶擴展表 class UserProfile(AbstractUser): TYPE_CHOICES = ( (1, '管理員'), (2, '分銷員'), (3, '會員'), (4, '非會員') ) nickname = models.CharField("昵稱", max_length=300, null=True, blank=True) name = models.CharField("姓名", max_length=20, null=True, blank=True) img_url = models.CharField("頭像", max_length=300, null=True, blank=True) type = models.IntegerField("類型", choices=TYPE_CHOICES, null=True, blank=True) level = models.IntegerField("等級", null=True, blank=True) id_card = models.CharField("身份證號", max_length=100, unique=True, null=True, blank=True) phone = models.CharField("手機", max_length=100, unique=True, null=True, blank=True) weixin_id = models.CharField("微信ID", max_length=100, unique=True, null=True, blank=True) alipay_id = models.CharField("支付寶ID", max_length=100, unique=True, null=True, blank=True) roles = models.CharField("頁面權限", max_length=500, null=True, blank=True) class Meta: verbose_name = "用戶擴展表" verbose_name_plural = verbose_name ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看