mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
修改IOT地址和密码
This commit is contained in:
parent
fd9e177273
commit
70f38708f6
@ -208,7 +208,7 @@ public class IotService {
|
|||||||
String longinUrl = "/api/auth/login";
|
String longinUrl = "/api/auth/login";
|
||||||
Map<String, Object> map = new HashMap<>();
|
Map<String, Object> map = new HashMap<>();
|
||||||
map.put("username", "tenant@thingsboard.org");
|
map.put("username", "tenant@thingsboard.org");
|
||||||
map.put("password", "tenant");
|
map.put("password", "jsDU89naXB4X2y!Y");
|
||||||
String loginPath = baseUrl + longinUrl;
|
String loginPath = baseUrl + longinUrl;
|
||||||
HttpRequest request = HttpUtil.createPost(loginPath);
|
HttpRequest request = HttpUtil.createPost(loginPath);
|
||||||
HttpResponse execute = request.body(JSON.toJSONString(map)).execute();
|
HttpResponse execute = request.body(JSON.toJSONString(map)).execute();
|
||||||
|
|||||||
@ -258,7 +258,7 @@ justauth:
|
|||||||
redirect-uri: ${justauth.address}/social-callback?source=gitlab
|
redirect-uri: ${justauth.address}/social-callback?source=gitlab
|
||||||
|
|
||||||
iot:
|
iot:
|
||||||
baseurl: http://118.89.86.111:8080
|
baseurl: http://8.219.157.97:9090
|
||||||
url:
|
url:
|
||||||
scopeAttribute: /api/plugins/telemetry/{entityType}/{entityId}/values/attributes/{scope}
|
scopeAttribute: /api/plugins/telemetry/{entityType}/{entityId}/values/attributes/{scope}
|
||||||
telemetry: /api/plugins/telemetry/{entityType}/{entityId}/values/timeseries
|
telemetry: /api/plugins/telemetry/{entityType}/{entityId}/values/timeseries
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user