let proxyAgent = undefined;
if(httpProxy != undefined){
// 双重代理
const secondProxyAgent = new HttpsProxyAgent('http://'+proxy_ip);
proxyAgent = new HttpsProxyAgent(httpProxy.address, secondProxyAgent.host, secondProxyAgent.port);
}else{
// 单个代理
proxyAgent = new HttpsProxyAgent('http://'+proxy_ip);// 包含了代理的 ip 和端口号
}