From baab15477c13b3eeb04784f784fcc5bac1c68393 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期五, 12 七月 2024 18:35:39 +0800 Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia --- server/service/src/main/java/com/doumee/biz/zbom/impl/ZbomSMSServiceImpl.java | 9 ++++++--- 1 files changed, 6 insertions(+), 3 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..dbe6b43 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,6 +57,8 @@ if(StringUtils.isBlank(content)){ return false; } +// 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 { @@ -90,6 +92,7 @@ saveInterfaceLog(urlStr,"蹇楅偊鐭俊鍙戦�佹帴鍙�", sb.toString(), 0,inputline); return true;// }catch (Exception e){ + e.printStackTrace(); return false; } @@ -102,7 +105,7 @@ log.setCreateDate(new Date()); log.setUrl(url); log.setEditDate(log.getCreateDate()); - log.setPlat(Constants.ZERO); + log.setPlat(Constants.ONE); log.setName(name); log.setIsdeleted(Constants.ZERO); log.setRequest(param); -- Gitblit v1.9.3