From e99c7cde9bfa219af9cf8405fc4d9d2ee6f86fa1 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期五, 12 九月 2025 11:30:55 +0800 Subject: [PATCH] 大屏设置鉴权 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/util/KsolarUtils.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/util/KsolarUtils.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/util/KsolarUtils.java index 06ab4ac..6c4c08b 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/util/KsolarUtils.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/util/KsolarUtils.java @@ -203,7 +203,7 @@ String value = "0"; HttpRequest post = HttpRequest.post("https://www.zsdcloud.cn:8443/openApi/equipment/select.action"); post.form("token", accessToken); - post.form("keyCode", "869916072003947"); + post.form("keyCode", "869916072417147"); post.form("version", "V2"); HttpResponse execute = post.execute(); String body = execute.body(); @@ -235,7 +235,7 @@ return valueTotal+"_"+value; } public static void main(String[] args) throws Exception { - String electricity = getElectricity(); + String electricity = getAccessToken(); System.out.println(electricity); } -- Gitblit v1.7.1