提交 ad477b96 作者: yanxin

知识库增加链接字段

上级 56ab127e
...@@ -105,7 +105,7 @@ public class Knowledge implements Serializable { ...@@ -105,7 +105,7 @@ public class Knowledge implements Serializable {
/** /**
* 链接地址 * 链接地址
*/ */
private String sourceAddress;; private String sourceAddress;
/** /**
* 类型 * 类型
*/ */
......
...@@ -53,6 +53,11 @@ public class KnowledgeMessage { ...@@ -53,6 +53,11 @@ public class KnowledgeMessage {
private String contentAll; private String contentAll;
private Integer importData; private Integer importData;
/**
* 链接地址
*/
private String sourceAddress;
private List<Content> contents; private List<Content> contents;
} }
...@@ -361,7 +361,7 @@ class KnowledgeServiceImpl implements IKnowledgeService { ...@@ -361,7 +361,7 @@ class KnowledgeServiceImpl implements IKnowledgeService {
KnowledgeVO knowledgeVO = this.getById(knowledge.getId()); KnowledgeVO knowledgeVO = this.getById(knowledge.getId());
knowledge.setKnowledgeProjectId(knowledgeVO.getKbKnowledgeId()); knowledge.setKnowledgeProjectId(knowledgeVO.getKbKnowledgeId());
} }
deleteForPython(knowledge.getId(), knowledge.getKnowledgeProjectId()); deleteForPython(knowledge.getId(), knowledge.getKbKnowledgeId());
//log.info("send message:{}", knowledgeMessage); //log.info("send message:{}", knowledgeMessage);
String msg = JSON.toJSONString(knowledgeMessage); String msg = JSON.toJSONString(knowledgeMessage);
log.info(msg); log.info(msg);
......
...@@ -49,9 +49,9 @@ mybatis-plus: ...@@ -49,9 +49,9 @@ mybatis-plus:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
python: python:
intelligentQaUrl: http://116.63.179.212:7862/platform/chat intelligentQaUrl: http://114.116.36.231:7863/platform/chat
searchUrl: http://116.63.179.212:7862/platform/searchInfo searchUrl: http://114.116.36.231:7863/platform/searchInfo
deleteUrl: http://114.115.172.99:10013/platform/delete deleteUrl: http://114.116.36.231:7863/platform/delete
know: know:
thirdpartyurl: thirdpartyurl:
...@@ -62,15 +62,13 @@ know: ...@@ -62,15 +62,13 @@ know:
document: document:
server: server:
host: http://114.116.116.241:9088 host: http://114.116.36.231:9088
# host: http://192.168.1.71:9088
files: files:
# storage: /zzsn/nt/storage/know/ storage: /zzsn/nt/storage/know/
storage: D:/storage/know/ # storage: D:/storage/know/
docservice: docservice:
url: url:
site: http://114.116.116.241:80/ site: http://114.116.36.231:80/
# site: http://192.168.1.216:80/
converter: ConvertService.ashx converter: ConvertService.ashx
command: coauthoring/CommandService.ashx command: coauthoring/CommandService.ashx
api: web-apps/apps/api/documents/api.js api: web-apps/apps/api/documents/api.js
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论