Explorar o código

知识库查看评论

chenguangyu hai 1 ano
pai
achega
d5036c0f55

+ 0 - 6
cx-knowledge-base/cx-knowledge-base-common/pom.xml

@@ -63,12 +63,6 @@
             <artifactId>easyexcel</artifactId>
             <version>3.3.2</version>
         </dependency>
-        <dependency>
-            <groupId>com.rongwei</groupId>
-            <artifactId>bs-common</artifactId>
-            <version>1.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
 
     </dependencies>
 </project>

+ 2 - 3
cx-knowledge-base/cx-knowledge-base-common/src/main/java/com/rongwei/bscommon/sys/service/impl/KnowledgebaseCommentsServiceImpl.java

@@ -7,7 +7,6 @@ import com.rongwei.bsentity.domain.KnowledgebaseCommentsDo;
 import com.rongwei.bsentity.enums.KnowledgeInfo;
 import com.rongwei.rwcommon.base.R;
 import com.rongwei.rwcommon.utils.SecurityUtil;
-import com.rongwei.safecommon.utils.CXCommonUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
@@ -62,8 +61,8 @@ public class KnowledgebaseCommentsServiceImpl extends ServiceImpl<KnowledgebaseC
         if ("y".equals(authornotification)) {//系统消息通知作者
             List<String> personnelIdList = new ArrayList<>();
             personnelIdList.add(authorid);
-            CXCommonUtils.sendNotify(String.format(NOTIFICATION_TITLE,title),commentcontent,
-                    "", personnelIdList, "", "knowledgebase");
+//            CXCommonUtils.sendNotify(String.format(NOTIFICATION_TITLE,title),commentcontent,
+//                    "", personnelIdList, "", "knowledgebase");
         }
         return R.ok();
     }

+ 0 - 2
cx-knowledge-base/cx-knowledge-base-server/src/main/java/com/rongwei/bsserver/sys/controller/KnowledgeViewController.java

@@ -9,8 +9,6 @@ import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
-
-import java.util.List;
 import java.util.Map;
 
 /**