Node.js 请求审批实例列表返回404
ReNode.js 请求审批实例列表返回404
搞定了,
get请求,
var query = { //method:'list', method:'dingtalk.smartwork.bpms.processinstance.list', //process_code:'PROC-*******', session:accessToken, timestamp:new Date().toLocaleString(), v:'2.0', format:'json', process_code: 'PROC-*****', //start_time: new Date().getTime() start_time:596678400000 } console.log(query); var path = '?'+querystring.stringify(query);
var oapiHost = 'eco.taobao.com/router/rest';https.get('https://' + oapiHost + path, function(response) {//blablabla.....})
赞0
踩0