packages/wx-abc/lib/cs.js
function sendCsMessage(csMessage){
  var token = this.instance.getAccessToken();
  var url = 'https://api.WeiXin.qq.com/cgi-bin/message/custom/send?access_token='+token;
  var fiber = fibext();
  hr.post(url, {json: csMessage}, util.processResponse(function(err, body){
    fiber.resume(err, body);
  }));
  return fiber.wait();
}
function sendCsMessage(csMessage){
  var token = this.instance.getAccessToken();
  var url = 'https://api.WeiXin.qq.com/cgi-bin/message/custom/send?access_token='+token;
  var fiber = fibext();
  hr.post(url, {json: csMessage}, util.processResponse(function(err, body){
    fiber.resume(err, body);
  }));
  return fiber.wait();
}
function sendCsMessage ( csMessage ) { var token = this . instance . getAccessToken ( ) ; var url = 'https://api.WeiXin.qq.com/cgi-bin/message/custom/send?access_token=' + token ; var fiber = fibext ( ) ; hr . post ( url , { json : csMessage } , util . processResponse ( function ( err , body ) { fiber . resume ( err , body ) ; } ) ) ; return fiber . wait ( ) ; }
send custom service message, always async
send custom service message always async