npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@aliedu/user-center

v2.0.0-beta.5

Published

用户中心登录

Downloads

185

Readme

教育基座登录

@aliedu/user-center

用户中心登录

API

| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------ | ---- | ---- | ---- | ------ | ---- | | | | | | | |

登录流程

账号密码登录

输入帐密 => 登录按钮亮起,可以进行登录 => 点击登录按钮 => 调用安全算子接口 => 调用帐密登录接口 => 调用组织列表接口 => 选择组织 => 跳转首页

免密登录

tab 切换至免密登录 => 输入手机号 => 手机号格式正确,验证码输入框与发送验证码按钮出现 => 发送验证码 => 输入验证码 => 点击登录按钮 => 调用免密登录接口 => 选择组织 => 跳转首页

钉钉扫码登录

选择扫二维码登录 => 钉钉扫码 => 选择组织 => 跳转首页

账号注册

点击账号注册按钮 => 输入手机号 => 手机号格式正确,验证码输入框与验证码发送按钮出现 => 发送验证码 => 输入验证码 => 注册按钮亮起 => 点击注册按钮 => 注册成功,重新登录

忘记密码

点击忘记密码按钮 => 输入手机号 => 手机号格式正确,验证码输入框与验证码发送按钮出现 => 发送验证码 => 输入验证码 => 下一步按钮亮起 => 点击下一步 => 设置新密码 => 设置成功 => 重新登录

流程图

st=>start: 进入登录页
cond1=>condition: 登录还是注册?
cond2=>condition: 账号登录还是第三方账号登录?
cond3=>condition: 帐密登录还是免密登录?
cond4=>condition: 账号密码是否已输入?
cond5=>condition: 账号密码是否正确?
cond6=>condition: 账号注册手机号格式是否正确?
cond7=>condition: 注册是否成功?
cond8=>condition: 免密登录手机号格式是否正确?
cond9=>condition: 用户登录是否成功?

opt1=>operation: 调用安全算子接口
opt2=>operation: 调用登录接口
opt3=>operation: 调用组织列表接口,获取组织列表
opt4=>operation: 选择组织
opt5=>operation: 验证码输入框和验证码按钮出现
opt6=>operation: 用户发送验证码
opt7=>operation: 用户点击注册按钮
opt8=>operation: 用户扫码钉钉登录
opt9=>operation: 用户点击免密登录tab
opt10=>operation: 免密登录用户点击下一步按钮

io1=>inputoutput: 用户输入账号密码进行账号登录
io2=>inputoutput: 用户输入手机号进行账号注册
io3=>inputoutput: 用户输入验证码
io4=>inputoutput: 用户输入手机号进行免密登录
io5=>inputoutput: 用户输入验证码进行免密登录


e=>end: 结束,跳转首页

st->cond1
cond1(yes)->cond2
cond1(no)->io2->cond6
cond6(yes)->opt5->io3->opt7->cond7
cond6(no)->io2
cond7(yes)->cond1
cond7(no)->io2
cond2(yes)->cond3
cond2(no)->opt8->opt4->e
cond3(yes)->io1->cond4
cond3(no)->opt9->io4->cond8
cond8(yes)->opt5->opt6->io3->opt10->cond9
cond9(yes)->opt3->opt4->e
cond9(no)->io4
cond8(no)->io4
cond4(yes)->opt1->opt2->cond5
cond4(no)->io1
cond5(yes)->opt3->opt4->e
cond5(no)->io1