Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改点击他人的知识图谱不显示内容的bug #9

Open
ct1tc opened this issue Apr 3, 2018 · 2 comments
Open

修改点击他人的知识图谱不显示内容的bug #9

ct1tc opened this issue Apr 3, 2018 · 2 comments

Comments

@ct1tc
Copy link

ct1tc commented Apr 3, 2018

在getZsd.do中是利用getZsd1()方法来查找数据的,这里包含了用户名参数和nodeid,导致了需要与用户名一致才能够被查询到,因此新创了getZsd2()方法,只需要传入nodeid来寻找数据,就能够查询到所有需要的数据,他人进行查看时能够获取到内容。

@huoji555
Copy link
Owner

huoji555 commented Apr 3, 2018

根据nodeid直接找到该知识点的内容, 同时将当前知识点的创作者mindUser一并返回给前台

@zhangjinxin1227
Copy link

zsd1 = tryCatchZsdService.getZsd1("userid", "zsdid",mindUserString, nodeid);
他人查看节点时不能显示内容是因为用户名和知识图谱的用户不一致导致,所以只要让节点得到的知识图谱的userid 和 mindUserString相一致即可 所以把mingdUserString的值设定为当前知识图谱的用户id即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants