From f911989f59778b11e9f60d400c3434f4dc6a18fb Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 12 七月 2024 18:25:46 +0800
Subject: [PATCH] 代码提交
---
server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java b/server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java
index dc37011..057d516 100644
--- a/server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java
+++ b/server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java
@@ -32,7 +32,7 @@
* @author 姹熻箘韫�
* @date 2023/11/30 15:33
*/
-@Service
+//@Service
public class ZbomSMSServiceImpl implements ZbomSMSService {
@Autowired
@@ -45,7 +45,7 @@
public static void main(String[] args) {
ZbomSMSServiceImpl obj = new ZbomSMSServiceImpl();
- obj.sendMessage("鎮ㄧ殑楠岃瘉鐮佹槸765412锛屾楠岃瘉鐮佺敤浜庨噸缃瘑鐮併��3鍒嗛挓鍐呮湁鏁堛��","15345690849");
+ obj.sendMessage("鎮ㄧ殑楠岃瘉鐮佹槸765412锛屾楠岃瘉鐮佺敤浜庨噸缃瘑鐮併��3鍒嗛挓鍐呮湁鏁堛��","18156091665");
}
/**
* 蹇楅偊瀹㈡埛淇℃伅鎻愪氦鎺ュ彛
@@ -57,8 +57,10 @@
if(StringUtils.isBlank(content)){
return false;
}
- String appkey = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_KEY);
- String urlStr = (String)redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_URL) ;
+ String appkey ="581ba98d70ae2b85c4ecb9c785";
+ String urlStr = "http://wx.zhibang.com/api/QR/Face_UserSms?TenantId=2&smstype=6&" ;
+// String appkey = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_KEY);
+// String urlStr = (String)redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_URL) ;
try {
StringBuffer sb = new StringBuffer(urlStr);
Integer _t = (int) System.currentTimeMillis();
@@ -90,6 +92,7 @@
saveInterfaceLog(urlStr,"蹇楅偊鐭俊鍙戦�佹帴鍙�", sb.toString(), 0,inputline);
return true;//
}catch (Exception e){
+ e.printStackTrace();
return false;
}
--
Gitblit v1.9.3