All Projects → BeijiYang → Minasmsverification

BeijiYang / Minasmsverification

短信验证:基于阿里云的 微信小程序 功能模块: 直接用 / mini-program + Node.js + Alibaba Cloud / Front & Back End

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Minasmsverification

Trumail
✉️ ✅ A Fast and Free Email Verification API written in Go
Stars: ✭ 937 (+896.81%)
Mutual labels:  verification
Smsretrieverapimaster
Automatic SMS Verification with the SMS Retriever API
Stars: ✭ 48 (-48.94%)
Mutual labels:  verification
Vonage Java Sdk
Vonage Server SDK for Java. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 75 (-20.21%)
Mutual labels:  verification
Lealone Plugins
与 Lealone 集成的各类插件(例如网络框架以及不同的数据库协议和存储引擎)
Stars: ✭ 31 (-67.02%)
Mutual labels:  mina
Owasp Masvs
The Mobile Application Security Verification Standard (MASVS) is a standard for mobile app security.
Stars: ✭ 1,030 (+995.74%)
Mutual labels:  verification
Reachabilityanalysis.jl
Methods to compute sets of states reachable by dynamical systems
Stars: ✭ 59 (-37.23%)
Mutual labels:  verification
Rn Countdown
⏰ 纯 JavaScript 实现的针对 React Native App 的倒计时组件。
Stars: ✭ 19 (-79.79%)
Mutual labels:  verification
Sea Dsa
A new context, field, and array-sensitive heap analysis for LLVM bitcode based on DSA.
Stars: ✭ 90 (-4.26%)
Mutual labels:  verification
Scrypt Interactive
[DEPRECATED] Truebit Verification for Scrypt
Stars: ✭ 47 (-50%)
Mutual labels:  verification
Hera
A framework for running WeChat applet. (小程序 SDK,小程序转 H5,小程序转安卓、iOS 原生应用、小程序渲染引擎)
Stars: ✭ 1,186 (+1161.7%)
Mutual labels:  mina
Rverify.js
✅❎ A lightweight image rotation verification plugin.
Stars: ✭ 33 (-64.89%)
Mutual labels:  verification
Mina Unicorn
Unicorn tasks for Mina
Stars: ✭ 44 (-53.19%)
Mutual labels:  mina
Tina
💃 一款轻巧的渐进式微信小程序框架
Stars: ✭ 1,153 (+1126.6%)
Mutual labels:  mina
Liquidhaskell
Liquid Types For Haskell
Stars: ✭ 863 (+818.09%)
Mutual labels:  verification
Mina Webpack
🍱 Mina single-file-component meets Webpack
Stars: ✭ 77 (-18.09%)
Mutual labels:  mina
Game Server
Distributed Java game server, including cluster management server, gateway server, hall server, game logic server, background monitoring server and a running web version of fishing. State machine, behavior tree, A* pathfinding, navigation mesh and other AI tools
Stars: ✭ 916 (+874.47%)
Mutual labels:  mina
Perennial
Verifying concurrent crash-safe systems
Stars: ✭ 57 (-39.36%)
Mutual labels:  verification
Tina Hackernews
📺 A Tina.js powered Wechat-Mini-Program implementation of Hacker News Reader
Stars: ✭ 93 (-1.06%)
Mutual labels:  mina
Tulip Control
Temporal Logic Planning toolbox
Stars: ✭ 81 (-13.83%)
Mutual labels:  verification
Ssri
Standard Subresource Integrity library for Node.js
Stars: ✭ 69 (-26.6%)
Mutual labels:  verification

基于阿里云的 微信小程序 短信验证 功能模块

SMS verification module based on Alibaba Cloud

  • Front End: WeChat mini program
  • Back End: Express + Alibaba Cloud

动图效果展示 / GIF Demonstration

动图效果展示

功能

小程序端:

  • 请求获取短信验证码
  • 两次请求之间间隔至少一分钟
  • 填写必填内容后,才能提交表单
  • 手机号合法性检验

后台:

  • 接前台请求后,通过阿里云发送短信
  • 生成随机数字验证码(默认6位)
  • 收到提交的表单后,对验证码字段进行判断
    • 验证码是否过期
    • 验证码是否正确
  • 通过验证后,方能进行下一步操作
    • 如保存表单信息至数据库等
  • 结果反馈

说明

  • 使用阿里云短信服务,需注册阿里云,创建AccessKeyId 与 AccessKeySecret,申请短信签名短信模板 ,即可使用
  • 将这些信息填入config.default.js中,并改名为config.js
  • 手机号合法性验证部分,为了让代码长期可用,没有针对现行号段进行详细检测,而是只进行了简略的格式检测
  • 有一个坑注意下:传入的验证码必须是JSON串格式,否则当字符串开头是0时,0会被忽略掉,得到小于6位的验证码
  • 如有帮助,请Star
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].