moonlight_function_https

1.0.3 • Public • Published

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);
   }

/moonlight_function_https/

    Package Sidebar

    Install

    npm i moonlight_function_https

    Weekly Downloads

    13

    Version

    1.0.3

    License

    UNLICENSED

    Unpacked Size

    2.51 kB

    Total Files

    4

    Last publish

    Collaborators

    • menghuiqiang999