From aa2c3d4deba76ade0958ff3ced88396e226a4964 Mon Sep 17 00:00:00 2001
From: duhuizhe <271000472@qq.com>
Date: 星期三, 15 五月 2024 19:57:40 +0800
Subject: [PATCH] 项目启动失败问题解决
---
ecosphere/ecosphere-common/src/main/java/com/nuvole/util/LaBaPushUtil.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ecosphere/ecosphere-common/src/main/java/com/nuvole/util/LaBaPushUtil.java b/ecosphere/ecosphere-common/src/main/java/com/nuvole/util/LaBaPushUtil.java
index eb6fef1..94cff2a 100644
--- a/ecosphere/ecosphere-common/src/main/java/com/nuvole/util/LaBaPushUtil.java
+++ b/ecosphere/ecosphere-common/src/main/java/com/nuvole/util/LaBaPushUtil.java
@@ -1,5 +1,6 @@
package com.nuvole.util;
+import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;
import com.alibaba.fastjson.JSONObject;
@@ -7,7 +8,6 @@
import com.nuvole.hnnx.hnnxPay.SignatureSigner;
import com.nuvole.util.enums.LaPushEnum;
import lombok.extern.slf4j.Slf4j;
-import org.apache.commons.lang.StringUtils;
import java.util.HashMap;
import java.util.List;
@@ -43,7 +43,7 @@
// }
public static void pushMessageToSingle(String deviceId, LaPushEnum pushType, long money) {
- if (StringUtils.isEmpty(deviceId)){
+ if (StrUtil.isEmpty(deviceId)){
return;
}
Map<String, String> parameters = new HashMap<>();
--
Gitblit v1.9.1