alisms
Version:
taobao api
23 lines (17 loc) • 549 B
Markdown
##阿里大鱼短信发送sdk
npm install alisms
var TopClient = require('alisms');
var client = new TopClient({
'appkey': '阿里大鱼key',
'appsecret': '阿里大鱼secret',
});
client.execute('alibaba.aliqin.fc.sms.num.send', {
'sms_type': 'normal',
'sms_free_sign_name': 'sign_name',
'sms_param': '{\"code\":\"123456\",\"product\":\"sign_name\"}',
'rec_num': '',
'sms_template_code': ''
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})