Compare commits
2 Commits
41e3f0dafa
...
c1438af1e4
| Author | SHA1 | Date | |
|---|---|---|---|
| c1438af1e4 | |||
| dfd0ba6ffa |
@@ -20,6 +20,7 @@ import com.wx.application.gorse4j.GorseService;
|
||||
import com.wx.application.gorse4j.Item;
|
||||
import com.wx.application.nebula.graph.query.NebulaModel;
|
||||
import com.wx.application.nebula.graph.query.NebulaNode;
|
||||
import com.wx.application.nebula.graph.service.ImportGraphService;
|
||||
import com.wx.application.nebula.graph.service.NebulaOperateService;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -41,6 +42,9 @@ public class GorseController extends BaseController {
|
||||
@Autowired
|
||||
NebulaOperateService nebulaOperateService;
|
||||
|
||||
@Autowired
|
||||
ImportGraphService importGraphService;
|
||||
|
||||
/**
|
||||
* 推荐根据userId
|
||||
* @param gQo
|
||||
@@ -70,6 +74,12 @@ public class GorseController extends BaseController {
|
||||
return success(res);
|
||||
}
|
||||
|
||||
@PostMapping(value = "/ipt")
|
||||
public ResponseData ipt() throws Exception {
|
||||
importGraphService.iptUser();
|
||||
importGraphService.iptentrys();
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 推荐根据知识图谱
|
||||
|
||||
Reference in New Issue
Block a user