【文件属性】:
文件名称:dialog-sms-service
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-27 20:26:13
JavaScript
对话短信服务
JavaScript库通过Dialog电信服务发送短信
该库将使用Dialog电信服务处理单个或多个SMS发送功能。
npm install dialog-sms-service
用法
const smsGateway = require ( 'dialog-sms-service' ) ;
( async ( ) => {
try {
// set configuration
await smsGateway . setConfig ( {
digest : 'dialog_msg_digest_here' ,
mask : 'dialog_msg_mask_here' ,
user : 'dialog_msg_user_here' ,
campaignName : 'dialog_msg_camp
【文件预览】:
dialog-sms-service-master
----.gitignore(12B)
----package.json(557B)
----package-lock.json(703B)
----index.js(5KB)
----README.md(4KB)