From 62d208a5324a8161e030877a0bf1ab15a3a5b303 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Thu, 26 Jun 2025 22:21:01 +0800
Subject: [PATCH] fix: Long类型转换为字符串

---
 oying-tools/src/main/java/com/oying/utils/SendMessageUtils.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/oying-tools/src/main/java/com/oying/utils/SendMessageUtils.java b/oying-tools/src/main/java/com/oying/utils/SendMessageUtils.java
index 6fbc7b3..c3ce8dd 100644
--- a/oying-tools/src/main/java/com/oying/utils/SendMessageUtils.java
+++ b/oying-tools/src/main/java/com/oying/utils/SendMessageUtils.java
@@ -24,14 +24,14 @@
 @Data
 public class SendMessageUtils {
 
-    public static void sendMsg(String phone, String message, WinnerLookProperties properties) {
+    public static void sendMsg(String url, String phone, String message, WinnerLookProperties properties) {
         Map<String, String> params = new HashMap<>();
         params.put("userCode", properties.getUserCode());
         params.put("userPass", properties.getUserPass());
         params.put("DesNo", phone);
         params.put("Msg", message + "【立研】");
         params.put("smsType", "101");
-        String str = HttpRequest.exchangeMsg(HttpMethod.POST, properties.getUrlSendMsg(), convert(params));
+        String str = HttpRequest.exchangeMsg(HttpMethod.POST, url, convert(params));
         if (ObjectUtils.isEmpty(extractWithRegex(str))) {
             log.error("短信调用异常 {}", str);
             throw new BadRequestException("短信调用异常");

--
Gitblit v1.9.3