This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const puppeteer = require('puppeteer'); | |
| (async() => { | |
| let options = { | |
| args: ['--no-sandbox'] | |
| // headless: false | |
| } | |
| if ('production' != process.NODE_ENV && 'win32' == process.platform) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 阿里云通信-文本转语音外呼接口 nodejs api封装 | |
| * 2018年5月14日 ryan<ouyang.em{at}gmail.com> | |
| * 参考 https://help.aliyun.com/document_detail/56190.html | |
| */ | |
| var crypto = require('crypto'); | |
| var request = require('request'); | |
| // 系统参数 | |
| var config = { | |
| accessKeyId: '', |
NewerOlder