Socket
Book a DemoInstallSign in
Socket

fib-alicloud-sms

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fib-alicloud-sms

Send message on Alicloud platform.

1.0.0
latest
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

#fib-alicloud-sms 1.支持阿里云平台短信验证码发送功能。

Install

$ npm install fib-alicloud-sms

Usage

var fib_alicloud_sms = require("fib-alicloud-sms");

var client = fib_alicloud_sms.smsclient({
				accessKeyId: 'accessKeyId',
				secretAccessKey: 'secretAccessKey'
			 });		//替换实际KeyId和AccessKey值,初始化客户端。
			 
fib_alicloud_sms.send(client, {
	PhoneNumbers: '15100000000',
	SignName: 'message test',
	TemplateCode: 'SMS_96945021',
	TemplateParam: '{"code":"255277"}'
});			//替换实际业务参数,发送信息。

FAQs

Package last updated on 18 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.