From c111e3eff1191b29d2d2baf2f485a4bf3a2edc00 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 16 八月 2025 14:34:07 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/component/RedisMqReceiver.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/component/RedisMqReceiver.java b/ruoyi-admin/src/main/java/com/ruoyi/web/component/RedisMqReceiver.java index 49130ff..6e2e9fe 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/component/RedisMqReceiver.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/component/RedisMqReceiver.java @@ -295,6 +295,7 @@ for (ServiceSubtask serviceSubtask : selectServiceSubtaskList) { //鍏堝垽鏂竴涓嬶紝subIds鏄惁涓虹┖锛屽鏋滀笉涓虹┖锛屽彧鎵цsubIds閲岀殑鎮h�� + log.info("-----subIds鐨勫�间负锛歿}", subIds); if (CollectionUtils.isNotEmpty(subIds)) { boolean contains = subIds.contains(serviceSubtask.getId()); //濡傛灉contains涓嶄负true,璇存槑褰撳墠鐨勬偅鑰呭凡缁忓彂閫佹垚鍔燂紝鐩存帴寰幆涓嬩竴涓汉灏辫 @@ -321,7 +322,7 @@ sendMagParam.setPhone(serviceSubtask.getPhone()); sendMagParam.setUrl(ip + ":" + req_path + "/sf?p=" + format); sendMagParam.setContent("鎮ㄥソ锛岄個璇锋偍濉啓鍑洪櫌闅忚璋冩煡琛紝璇风偣鍑�" + sendMagParam.getUrl() + " 濉啓銆傛劅璋㈡偍閰嶅悎锛�"); - log.info("888888888888:{}",sendMagParam); + log.info("888888888888:{}", sendMagParam); } else if (type == 2) { //闂埜锛堥棶棰橈級 ServiceOutPath serviceOutPath = new ServiceOutPath(); @@ -340,7 +341,7 @@ sendMagParam.setPhone(serviceSubtask.getPhone()); sendMagParam.setUrl(ip + ":" + req_path + "/wt?p=" + format); sendMagParam.setContent("鎮ㄥソ锛岄個璇锋偍濉啓鍑洪櫌璋冩煡琛紝璇风偣鍑�" + sendMagParam.getUrl() + " 濉啓銆傛劅璋㈡偍閰嶅悎锛�"); - log.info("鎮ㄥソ锛岄個璇锋偍濉啓鍑洪櫌璋冩煡琛紝璇风偣鍑�,{}",sendMagParam.getUrl()); + log.info("鎮ㄥソ锛岄個璇锋偍濉啓鍑洪櫌璋冩煡琛紝璇风偣鍑�,{}", sendMagParam.getUrl()); } else if (type == 3) { //瀹f暀 ServiceOutPath serviceOutPath = new ServiceOutPath(); @@ -358,6 +359,7 @@ sendMagParam.setPhone(serviceSubtask.getPhone()); sendMagParam.setUrl(ip + ":" + req_path + "/xj?p=" + format); sendMagParam.setContent("鎮ㄥソ锛岄個璇锋偍濉啓鍑洪櫌瀹f暀璋冩煡琛紝璇风偣鍑�" + sendMagParam.getUrl() + "鏌ョ湅銆傛劅璋㈡偍閰嶅悎锛�"); + log.info("-----------sendMagParam鐨勫�间负锛歿}", sendMagParam); } //鐭俊杩橀渶瑕佹ā鏉� // Map<String, String> req = new HashMap<>(); @@ -374,6 +376,7 @@ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddhhmmsszzz"); // 杈撳嚭鏃ユ湡鏍煎紡 strb.append("&send_time=" + dateFormat.format(new Date())); String isSuccess = HttpUtil.postFormRequest(xhsmsPath, strb.toString()); + log.info("-----------sisSuccess鐨勫�间负锛歿}", isSuccess); if (StringUtils.isNotEmpty(isSuccess) && isSuccess.contains("200")) { ServiceSubtaskRecord serviceSubtaskRecord = new ServiceSubtaskRecord(); serviceSubtaskRecord.setTaskid(serviceSubtask.getTaskid().toString()); -- Gitblit v1.9.3