创建一个访问父租户自定义接口的客户端
import * as http from 'http';let cli = http.newParentClient();let resp = cli.get("/service/sound__fight/1.0.0/getsimple", {})console.log(resp.body); Copy
import * as http from 'http';let cli = http.newParentClient();let resp = cli.get("/service/sound__fight/1.0.0/getsimple", {})console.log(resp.body);
创建一个访问父租户自定义接口的客户端