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 #8

Open
ct1tc opened this issue Apr 3, 2018 · 1 comment
Open

修改能够编辑他人知识点内容bug #8

ct1tc opened this issue Apr 3, 2018 · 1 comment

Comments

@ct1tc
Copy link

ct1tc commented Apr 3, 2018

在saveZsd.do下的方法中需要取得选中的作者的名称放入username中,利用前台传入的zsdid作为索引来查找mindnode表中的记录,获取到userid字段内容进行赋值,最后进行与用户名进行判断,如果不同返回6,在前台接受到6时会显示无法在他人知识点中修改内容的提示。

@huoji555
Copy link
Owner

huoji555 commented Apr 3, 2018

后台根据前台传来的当前节点的nodeid,从而获取当前知识图谱的作者mindUser,判断mindUser和当前登录用户是否匹配,不匹配则返回前台数据:更新为不能编辑他人知识点的内容

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

2 participants