moonlight_function_https
v1.0.3
Published
https function of moonlight
Downloads
5
Maintainers
Keywords
Readme
This is a function form Moonlight Method mget: react a get meth by host,url and data_feedback is data feedback by get method
"use strict";
try{
var page_name="test";
var errplace=require('moonlight_function_errplace');
var mhttps=require('./moonlight_function_https');
var get=mhttps.get;
var corpid = "XX6"; //企业微信:深圳XX公司
var corpsecret = "XX"; //通讯录
var host = "qyapi.weixin.qq.com";
var url = "/cgi-bin/gettoken?corpid=" + corpid + "&corpsecret=" + corpsecret;
get(host, url,function(data_callback) {
console.log(page_name + ":data_callback:" + data_callback);
})
}catch(err){
errplace(err,page_name);
}