|
|
@@ -55,7 +55,7 @@ public class ApiRequestService extends SuperService {
|
|
|
stopWatch.start();
|
|
|
try {
|
|
|
String json = JSONUtil.toJsonStr(data);
|
|
|
- String url = iotCenterConf.getUrl() + apiConfParam.getApiName();
|
|
|
+ String url = iotCenterConf.getUrl() + iotCenterConf.getIotserverName() + apiConfParam.getApiName();
|
|
|
ResponseModel request = HttpClientUtil.request(HttpModel.builder()
|
|
|
.url(url).method(apiConfParam.getMethodType()).charset("utf-8").body(data).build());
|
|
|
if (request.getCode() == 200) {
|