阿里大鱼 短信验证
来源:互联网 发布:手机淘宝搜不出旗舰店 编辑:程序博客网 时间:2024/04/28 22:46
安装
$ npm install super-alidayu --save
使用方法
'use strict';const AliDaYu = require('super-alidayu');let client = new AliDaYu({ app_key: 'xxxxxxx', secret: 'xxxxxxxx',});let options = { sms_free_sign_name: '登录验证', sms_param: { code: '1234', product: '一登', }, rec_num: '13800138000', sms_template_code: 'SMS_4045620',};// 发送短信,promise方式调用 client.sms(options) .then(ret => console.log('success', ret)) .catch(err => console.log('error', err));// 发送短信,callback方式调用 client.sms(options, (err, ret) => { if (err) { console.log('error', err); } else { console.log('success', ret); }});
作业:实现手机注册短信验证
0 0
- 阿里大鱼 短信验证
- 利用阿里大鱼下发短信验证码
- 利用阿里大鱼发送短信验证
- 实现阿里大鱼短信验证完整流程
- 阿里大鱼短信验证码技术
- tp3.2(阿里大鱼) 短信验证
- laravel 阿里大鱼短信验证码
- 阿里大鱼 短信使用
- 阿里大鱼短信demo
- 阿里大鱼短信接口:
- 阿里大鱼短信
- 阿里大鱼发送短信
- 阿里大鱼短信
- 阿里大鱼短信接入
- 阿里大鱼,阿里短信,laravel5
- 阿里大鱼短信发送平台
- Laravel 阿里大鱼短信接口
- php短信接口(阿里大鱼)
- 无法正常卸载MyEclipse的解决方法(exit code=13)
- JobScheduler学习
- [C语言] 函数在退出时干了些什么?atexit函数的使用
- ContextPath属性是在哪里定义的?
- POJ 1661 解题报告
- 阿里大鱼 短信验证
- LeetCode--No.203--Remove Linked List Elements
- 微信支付
- 京城游戏人-Day19:Unity 定时器实现方法之一
- Markdown 学习
- 占位
- 占位
- 占位
- 占位