| 
														
															@@ -118,7 +118,7 @@ async function run(param) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             var dowHeaders = {...config.headers}; 
														 | 
														
														 | 
														
															             var dowHeaders = {...config.headers}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if (platform === 'win32') { 
														 | 
														
														 | 
														
															             if (platform === 'win32') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 downloadFileWithPowerShell( 
														 | 
														
														 | 
														
															                 downloadFileWithPowerShell( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                    config.dowbaseUrl + config.dowAppURL + '/?path=' + appName, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    config.baseUrl + config.dowAppURL + '/?path=' + appName, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     appPath + "/" + appName, 
														 | 
														
														 | 
														
															                     appPath + "/" + appName, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     dowHeaders, (err, b) => { 
														 | 
														
														 | 
														
															                     dowHeaders, (err, b) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         if (err === null) { 
														 | 
														
														 | 
														
															                         if (err === null) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -132,7 +132,7 @@ async function run(param) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     }); 
														 | 
														
														 | 
														
															                     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } else { 
														 | 
														
														 | 
														
															             } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 downloadFileWithLinux( 
														 | 
														
														 | 
														
															                 downloadFileWithLinux( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                    config.dowbaseUrl + config.dowAppURL + '/?path=' + appName, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    config.baseUrl + config.dowAppURL + '/?path=' + appName, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     appPath + "/" + appName, 
														 | 
														
														 | 
														
															                     appPath + "/" + appName, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     dowHeaders, (err, b) => { 
														 | 
														
														 | 
														
															                     dowHeaders, (err, b) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         if (err === null) { 
														 | 
														
														 | 
														
															                         if (err === null) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -410,7 +410,7 @@ function downloadFileWithLinux(url, destination, headers, funBreak) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function robotStatus(app) { 
														 | 
														
														 | 
														
															 function robotStatus(app) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     var config = getRustConfig() 
														 | 
														
														 | 
														
															     var config = getRustConfig() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     var msg = (app.threadStatus !== RobotStatus.ERROR ? "完成" : app.errorMessage) 
														 | 
														
														 | 
														
															     var msg = (app.threadStatus !== RobotStatus.ERROR ? "完成" : app.errorMessage) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    http.request_post(`${config.baseUrl}/report/statusReport`, { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    http.request_post(`${config.reportedUrl}/report/statusReport`, { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         "robotId": app.id, 
														 | 
														
														 | 
														
															         "robotId": app.id, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         "status": app.threadStatus, 
														 | 
														
														 | 
														
															         "status": app.threadStatus, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         "msg": msg 
														 | 
														
														 | 
														
															         "msg": msg 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -434,7 +434,7 @@ function robotAmount(app) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 //余额有变动上报一次 
														 | 
														
														 | 
														
															                 //余额有变动上报一次 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 // logger.info(`余额当前:${(app.nowBalance + "")}--${(d.now_balance + "")}--`); 
														 | 
														
														 | 
														
															                 // logger.info(`余额当前:${(app.nowBalance + "")}--${(d.now_balance + "")}--`); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 if ((app.nowBalance + "") !== (d.now_balance + "")) { 
														 | 
														
														 | 
														
															                 if ((app.nowBalance + "") !== (d.now_balance + "")) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                    http.request_post(`${config.baseUrl}/report/amountReport`, { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    http.request_post(`${config.reportedUrl}/report/amountReport`, { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         "robotId": app.id, 
														 | 
														
														 | 
														
															                         "robotId": app.id, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         "amount": d.now_balance 
														 | 
														
														 | 
														
															                         "amount": d.now_balance 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     }, {...config.headers}) 
														 | 
														
														 | 
														
															                     }, {...config.headers}) 
														 |