From c77ff646eb0b35cc97a5f9593f5466e17a3157cc Mon Sep 17 00:00:00 2001 From: yjh_yyds <2944425955@qq.com> Date: Tue, 10 Dec 2024 11:13:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../evcs/cdjgpc/api/CDNotificationStationInfoController.java | 1 + .../main/java/com/xhpc/auth/controller/TokenController.java | 4 ++-- .../src/main/java/com/xhpc/activity/utils/ExcelUtilYu.java | 3 +-- .../java/com/xhpc/general/controller/XhpcFileController.java | 4 ++-- .../java/com/xhpc/general/service/XhpcSmsServiceImpl.java | 4 ++-- .../src/main/java/com/xhpc/general/util/sms/SmsUtil.java | 4 ++-- .../main/java/com/xhpc/pp/controller/ChargingController.java | 2 +- xhpc-modules/xhpc-user/src/main/resources/bootstrap.yml | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/cdjgpc/api/CDNotificationStationInfoController.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/cdjgpc/api/CDNotificationStationInfoController.java index 7c041464..909b4eec 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/cdjgpc/api/CDNotificationStationInfoController.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/cdjgpc/api/CDNotificationStationInfoController.java @@ -13,6 +13,7 @@ import com.xhpc.evcs.domain.AuthSecretToken; import com.xhpc.evcs.domain.XhpcInternetUser; import com.xhpc.evcs.domain.XhpcStationInternetBlacklist; import com.xhpc.evcs.dto.*; +import com.xhpc.evcs.encryption.Aes128Cbc; import com.xhpc.evcs.encryption.EvcsConst; import com.xhpc.evcs.jpa.AuthSecretTokenRepository; import com.xhpc.evcs.jpa.XhpcInternetUserRepository; diff --git a/ruoyi-auth/src/main/java/com/xhpc/auth/controller/TokenController.java b/ruoyi-auth/src/main/java/com/xhpc/auth/controller/TokenController.java index 92353924..33ada4d2 100644 --- a/ruoyi-auth/src/main/java/com/xhpc/auth/controller/TokenController.java +++ b/ruoyi-auth/src/main/java/com/xhpc/auth/controller/TokenController.java @@ -48,8 +48,8 @@ public class TokenController extends BaseController public static final String ACCOUNT ="scxhkj"; public static final String PASSWD ="6A9628548C4CBECCE80A2479CD77679F"; public static final String PRODUCTLD ="20191130000001"; - public static final String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1"; - public static final String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu"; + public static final String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx"; + public static final String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi"; /** * 平台管理员登陆 * @param form diff --git a/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/utils/ExcelUtilYu.java b/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/utils/ExcelUtilYu.java index 2a5cd0c0..cb85960e 100644 --- a/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/utils/ExcelUtilYu.java +++ b/xhpc-modules/xhpc-activity/src/main/java/com/xhpc/activity/utils/ExcelUtilYu.java @@ -32,8 +32,7 @@ import java.util.Map; * @Date 2024-09-12 17:02 */ public class ExcelUtilYu { - private static String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1"; - private static String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu"; + /** * 创建Excel表 diff --git a/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/controller/XhpcFileController.java b/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/controller/XhpcFileController.java index bc3a71cd..61d5fb47 100644 --- a/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/controller/XhpcFileController.java +++ b/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/controller/XhpcFileController.java @@ -23,8 +23,8 @@ import java.util.Map; @RequestMapping("/file") public class XhpcFileController { - public static final String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1"; - public static final String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu"; + public static final String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx"; + public static final String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi"; @PostMapping(value = "/addFile") public R addFile(@RequestParam MultipartFile file){ diff --git a/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/service/XhpcSmsServiceImpl.java b/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/service/XhpcSmsServiceImpl.java index 4bbab60a..2ed60277 100644 --- a/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/service/XhpcSmsServiceImpl.java +++ b/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/service/XhpcSmsServiceImpl.java @@ -35,8 +35,8 @@ import java.util.regex.Pattern; public class XhpcSmsServiceImpl implements IXhpcSmsService { public static RedisService REDIS; - public static final String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1"; - public static final String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu"; + public static final String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx"; + public static final String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi"; private static final Logger logger = LoggerFactory.getLogger(XhpcSmsServiceImpl.class); @Autowired diff --git a/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/util/sms/SmsUtil.java b/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/util/sms/SmsUtil.java index a959503c..48337e7c 100644 --- a/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/util/sms/SmsUtil.java +++ b/xhpc-modules/xhpc-general/src/main/java/com/xhpc/general/util/sms/SmsUtil.java @@ -13,8 +13,8 @@ import com.aliyun.teaopenapi.models.Config; */ public class SmsUtil { - private static String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1"; - private static String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu"; + private static String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx"; + private static String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi"; /** * 使用AK&SK初始化账号Client diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java index 93ccb143..4df4cab6 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/ChargingController.java @@ -542,7 +542,7 @@ public class ChargingController { // Integer FFFF = HexUtils.reverseHexInt("0452"); // System.out.println("51 转化成="+FFFF); - Integer F402 = HexUtils.reverseHexInt("4C"); + Integer F402 = HexUtils.reverseHexInt("04010000"); System.out.println("F402 转化成="+F402); // Integer D007 = HexUtils.reverseHexInt("D007"); diff --git a/xhpc-modules/xhpc-user/src/main/resources/bootstrap.yml b/xhpc-modules/xhpc-user/src/main/resources/bootstrap.yml index f85c5cef..17176ef0 100644 --- a/xhpc-modules/xhpc-user/src/main/resources/bootstrap.yml +++ b/xhpc-modules/xhpc-user/src/main/resources/bootstrap.yml @@ -48,8 +48,8 @@ oss: name: qiniu tenant-mode: true endpoint: oss-accelerate.aliyuncs.com - access-key: LTAI5tBWjnuQGxGicnThwMF1 - secret-key: b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu + access-key: LTAI5t7vcQMfZPEZQkEdrAjx + secret-key: K7ZstCZoAjvJsBCe0CipodINETuPyi bucket-name: xhpc-bucket1 #文件路径