Giter Club home page Giter Club logo

vcb_member's People

Contributors

inori-lover avatar

Watchers

 avatar  avatar

vcb_member's Issues

添加邀请链接概念方便批量添加组员

功能描述:

  1. 拥有组长权限的账号,可以选择给给自己管理的某个组创建邀请链接
    1.1. 链接必须指定邀请上限及失效日期,上限避免滥用,要求指定失效可减少误用
    1.2. 失效日期指定时需注意验证适配时区问题
    1.3. 人员列表新增邀请链接记录

  2. 邀请链接可提前手动失效

  3. 控制台新增

设计:

  1. 邀请链接为固定长度随机值
    1.1. 考虑到碰撞问题,随机值采用时间戳+随机字符机制,base64 url-safe变种编码(故大小写敏感)

  2. 登录页面新增注册入口,点击跳转注册页面

  3. 注册页面可手动填写邀请码;邀请码链接则自动跳转注册页面并自动填写邀请码

  4. 【新用户场景】注册
    4.1. 用户名、登陆密码、邀请码为必填字段
    4.2. 接口校验邀请码有效(未失效、未达到上限、未超过有效期),根据邀请码来源自动归属用户组别

  5. 【转户口场景】注册
    5.1. uid(下拉人员列表)、邀请码为必填字段
    5.2. (?)根据登录态自动选出自己
    5.3. 接口校验邀请码有效(未失效、未达到上限、未超过有效期),根据邀请码来源自动归属用户组别

  6. 控制台根据用户权限,展示邀请码管理按钮
    6.1. 邀请码放在弹层内,弹层内左上角为新建邀请码,中部为邀请码表格,展示邀请码细节,按照创建时间倒序排列
    6.2. 列包含:邀请码内容、邀请码关联组别、已邀请/总数、失效状态、创建时间、预计失效时间、操作列
    6.3. 操作列包含:立即失效按钮(如未失效)、复制链接按钮(失效则置灰)
    6.4. 新建邀请码按钮点击后出现弹层,弹层中下拉选择组别(自己管理的组别内选择),点击确认后,刷新table,展示最新的邀请码链接

  7. 数据结构
    7.1. ID、值、关联组别ID、有效状态、人数上限、已使用次数、预计失效时间、创建时间
    7.2. 用户表新增邀请链接关联记录

  8. 不考虑邀请码删除(关联问题)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.