Function newParentClient

  • 创建一个访问父租户自定义接口的客户端

    Returns "http".Client

    Example

    import * as http from 'http';

    let cli = http.newParentClient();
    let resp = cli.get("/service/sound__fight/1.0.0/getsimple", {})
    console.log(resp.body);