diff --git a/ruoyi-admin/src/main/resources/templates/system/clew/add.html b/ruoyi-admin/src/main/resources/templates/system/clew/add.html
index 72b33051..9f609a69 100644
--- a/ruoyi-admin/src/main/resources/templates/system/clew/add.html
+++ b/ruoyi-admin/src/main/resources/templates/system/clew/add.html
@@ -55,7 +55,7 @@
diff --git a/ruoyi-admin/src/main/resources/templates/system/clew/clew.html b/ruoyi-admin/src/main/resources/templates/system/clew/clew.html
index 4540906f..17d07536 100644
--- a/ruoyi-admin/src/main/resources/templates/system/clew/clew.html
+++ b/ruoyi-admin/src/main/resources/templates/system/clew/clew.html
@@ -56,6 +56,7 @@
+
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ClewServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ClewServiceImpl.java
index 0ec85860..b8f6f0a2 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ClewServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ClewServiceImpl.java
@@ -2,6 +2,7 @@ package com.ruoyi.system.service.impl;
import java.util.List;
+import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.http.HttpUtils;
@@ -12,6 +13,7 @@ import com.ruoyi.system.mapper.ClewMapper;
import com.ruoyi.system.domain.Clew;
import com.ruoyi.system.service.IClewService;
import com.ruoyi.common.core.text.Convert;
+import org.springframework.util.ObjectUtils;
/**
* 线索Service业务层处理
@@ -70,9 +72,11 @@ public class ClewServiceImpl implements IClewService
}else {
smsContent.put("content", "你有一条来自黑猫,新线索生成,客户电话:" + clew.getPhone() + "(请注意及时跟进)");
}
- log.info("请求傲众短信入参:{}", smsContent.toJSONString());
- String s = HttpUtils.sendPost("http://www.aozhongyun.com/Admin/index.php/Message/send", smsContent.toJSONString());
- log.info("请求傲众短信url:{}, 响应:{}", "http://www.aozhongyun.com/Admin/index.php/Message/send", s);
+ if(!ObjectUtil.equals(clew.getSourceApp(), 8L)){
+ log.info("请求傲众短信入参:{}", smsContent.toJSONString());
+ String s = HttpUtils.sendPost("http://www.aozhongyun.com/Admin/index.php/Message/send", smsContent.toJSONString());
+ log.info("请求傲众短信url:{}, 响应:{}", "http://www.aozhongyun.com/Admin/index.php/Message/send", s);
+ }
}catch (Exception e){
log.error("请求傲众短信url:{}, 报错:{}","http://www.aozhongyun.com/Admin/index.php/Message/send", e.getMessage());
}