deasy
v0.6.5
Published
deasy sdk
Downloads
2
Readme
deasy server sdk
deasy服务器端sdk
安装
npm i deasy
socket
获取客户端鉴权token
const deasySocket = require('deasy/socket'); const socket = new deasySocket(appkey, appsecret); const token = socket.getToken();
api推送信息
const deasySocket = require('deasy/socket'); const socket = new deasySocket(appkey, appsecret); const result = await socket.push({ xxxxxx });
###短信
const SMS = require('deasy/sms'); const sms = new SMS(appkey, appsecret); const result = await sms.send(phone, msg,signname);