服务地址URL动态参数
http://{hostip}:{port}/service. 多数情况下,我们需要在实际运行过程中动态指定流程中需要调用的服务的地址以及其他的URL参数,那么URL的参数化也需要有一个方法来实现,本章主要讲述此功能
Last updated
Was this helpful?
http://{hostip}:{port}/service. 多数情况下,我们需要在实际运行过程中动态指定流程中需要调用的服务的地址以及其他的URL参数,那么URL的参数化也需要有一个方法来实现,本章主要讲述此功能
Last updated
Was this helpful?
Was this helpful?
this.address = {
"host": "dev.o2oa.net",
"port": "8000"
}this.parameters.put("host", this.address.host);
this.parameters.put("port", this.address.port);