|
@@ -49,7 +49,7 @@ function getEntityListByEntityClassId(id, data) {
|
|
|
function delEntityById(id) {
|
|
|
return request({
|
|
|
method: 'delete',
|
|
|
- url: `/knowledge/entity/ent/del/${id}`
|
|
|
+ url: `/neo4j/entity/ent/del/${id}`
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -83,7 +83,7 @@ function delEntityById(id) {
|
|
|
function delEntityByIds(ids) {
|
|
|
return request({
|
|
|
method: 'delete',
|
|
|
- url: `/knowledge/entity/ent/del/${ids}`,
|
|
|
+ url: `/neo4j/entity/ent/del/${ids}`,
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -130,7 +130,7 @@ function addEntity(
|
|
|
) {
|
|
|
return request({
|
|
|
method: 'post',
|
|
|
- url: `/knowledge/entity/ent/add`,
|
|
|
+ url: `/neo4j/entity/ent/add`,
|
|
|
data: {
|
|
|
entClsID: entClsID,
|
|
|
entMemo: entMemo,
|
|
@@ -164,7 +164,7 @@ function addEntity(
|
|
|
function getEntityDetailById(id, isModel) {
|
|
|
return request({
|
|
|
method: 'get',
|
|
|
- url: `/knowledge/entity/ent/${id}`,
|
|
|
+ url: `/neo4j/entity/ent/${id}`,
|
|
|
params: {
|
|
|
id: id,
|
|
|
isModel
|
|
@@ -196,7 +196,7 @@ function getEntityDetailById(id, isModel) {
|
|
|
function updateEntityName(entId, entName, entMemo, entIcon, isModel) {
|
|
|
return request({
|
|
|
method: 'post',
|
|
|
- url: `/knowledge/entity/ent/update`,
|
|
|
+ url: `/neo4j/entity/ent/update`,
|
|
|
data: {
|
|
|
entId: entId,
|
|
|
entMemo: entMemo, // 可选择传不传
|
|
@@ -470,7 +470,7 @@ function getRelationEnt(
|
|
|
) {
|
|
|
return request({
|
|
|
method: 'post',
|
|
|
- url: `/knowledge/statisticalMap/show/graph`,
|
|
|
+ url: `/neo4j/statisticalMap/show/graph`,
|
|
|
data: {
|
|
|
entId: id,
|
|
|
degree,
|
|
@@ -519,7 +519,7 @@ function getRelationEnt(
|
|
|
function getChart(data) {
|
|
|
return request({
|
|
|
method: 'post',
|
|
|
- url: `/knowledge/statisticalMap/show/graph`,
|
|
|
+ url: `/neo4j/statisticalMap/show/graph`,
|
|
|
data: data,
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json;charset=UTF-8'
|
|
@@ -531,7 +531,7 @@ function getChart(data) {
|
|
|
function getAllChart() {
|
|
|
return request({
|
|
|
method: 'get',
|
|
|
- url: `/knowledge/statisticalMap/show/allGraph`,
|
|
|
+ url: `/neo4j/statisticalMap/show/allGraph`,
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -554,7 +554,7 @@ function getAllChart() {
|
|
|
function getRelationClsByEntCls(id) {
|
|
|
return request({
|
|
|
method: 'get',
|
|
|
- url: `/knowledge/classRelation/relcls/all/list/${id}`,
|
|
|
+ url: `/neo4j/classRelation/relcls/all/list/${id}`,
|
|
|
params: {
|
|
|
id,
|
|
|
}
|
|
@@ -587,7 +587,7 @@ function getRelationClsByEntCls(id) {
|
|
|
function getRelationAttr(entId, relClsId, direction, isModel, current, size) {
|
|
|
return request({
|
|
|
method: 'get',
|
|
|
- url: `/knowledge/entityRelation/entcls/${direction}/${relClsId}/${entId}`,
|
|
|
+ url: `/neo4j/entityRelation/entcls/${direction}/${relClsId}/${entId}`,
|
|
|
params: {
|
|
|
entId,
|
|
|
relClsId,
|